Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
29495 amit.gupta 1
/*
2
 * MANDII
3
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
 *
5
 * The version of the OpenAPI document: 0.1.0
6
 * 
7
 *
8
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
 * https://openapi-generator.tech
10
 * Do not edit the class manually.
11
 */
12
 
13
package com.spice.profitmandi.common.services.mandii;
14
 
15
import java.util.Objects;
16
 
17
import com.fasterxml.jackson.annotation.JsonProperty;
18
import com.google.gson.annotations.SerializedName;
19
 
20
/**
21
 * Details
22
 */
23
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-13T10:59:30.263+05:30[Asia/Kolkata]")
24
public class Details {
25
	public static final String SERIALIZED_NAME_FIELD = "field";
26
	@JsonProperty(SERIALIZED_NAME_FIELD)
27
	@SerializedName(SERIALIZED_NAME_FIELD)
28
	private String field;
29
 
30
	public static final String SERIALIZED_NAME_VALUE = "value";
31
	@JsonProperty(SERIALIZED_NAME_VALUE)
32
	@SerializedName(SERIALIZED_NAME_VALUE)
33
	private Object value = null;
34
 
35
	public Details field(String field) {
36
 
37
		this.field = field;
38
		return this;
39
	}
40
 
41
	public String getField() {
42
		return field;
43
	}
44
 
45
	public void setField(String field) {
46
		this.field = field;
47
	}
48
 
49
	public Details value(Object value) {
50
 
51
		this.value = value;
52
		return this;
53
	}
54
 
55
	public Object getValue() {
56
		return value;
57
	}
58
 
59
	public void setValue(Object value) {
60
		this.value = value;
61
	}
62
 
63
	@Override
64
	public boolean equals(Object o) {
65
		if (this == o) {
66
			return true;
67
		}
68
		if (o == null || getClass() != o.getClass()) {
69
			return false;
70
		}
71
		Details details = (Details) o;
72
		return Objects.equals(this.field, details.field) && Objects.equals(this.value, details.value);
73
	}
74
 
75
	@Override
76
	public int hashCode() {
77
		return Objects.hash(field, value);
78
	}
79
 
80
	@Override
81
	public String toString() {
82
		StringBuilder sb = new StringBuilder();
83
		sb.append("class Details {\n");
84
		sb.append("    field: ").append(toIndentedString(field)).append("\n");
85
		sb.append("    value: ").append(toIndentedString(value)).append("\n");
86
		sb.append("}");
87
		return sb.toString();
88
	}
89
 
90
	/**
91
	 * Convert the given object to string with each line indented by 4 spaces
92
	 * (except the first line).
93
	 */
94
	private String toIndentedString(Object o) {
95
		if (o == null) {
96
			return "null";
97
		}
98
		return o.toString().replace("\n", "\n    ");
99
	}
100
 
101
}