| 12291 |
manish.sha |
1 |
/*
|
|
|
2 |
* Copyright 2010 Google Inc.
|
|
|
3 |
*
|
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
|
5 |
* in compliance with the License. You may obtain a copy of the License at
|
|
|
6 |
*
|
|
|
7 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
8 |
*
|
|
|
9 |
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
|
10 |
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
|
11 |
* or implied. See the License for the specific language governing permissions and limitations under
|
|
|
12 |
* the License.
|
|
|
13 |
*/
|
|
|
14 |
/*
|
|
|
15 |
* This code was generated by https://code.google.com/p/google-apis-client-generator/
|
|
|
16 |
* (build: 2014-07-09 17:08:39 UTC)
|
|
|
17 |
* on 2014-07-23 at 21:49:03 UTC
|
|
|
18 |
* Modify at your own risk.
|
|
|
19 |
*/
|
|
|
20 |
|
|
|
21 |
package com.google.api.services.content.model;
|
|
|
22 |
|
|
|
23 |
/**
|
|
|
24 |
* Model definition for DatafeedFormat.
|
|
|
25 |
*
|
|
|
26 |
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
|
|
|
27 |
* transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
|
|
|
28 |
* see:
|
|
|
29 |
* <a href="http://code.google.com/p/google-http-java-client/wiki/JSON">http://code.google.com/p/google-http-java-client/wiki/JSON</a>
|
|
|
30 |
* </p>
|
|
|
31 |
*
|
|
|
32 |
* @author Google, Inc.
|
|
|
33 |
*/
|
|
|
34 |
@SuppressWarnings("javadoc")
|
|
|
35 |
public final class DatafeedFormat extends com.google.api.client.json.GenericJson {
|
|
|
36 |
|
|
|
37 |
/**
|
|
|
38 |
* Delimiter for the separation of values in a delimiter-separated values feed. If not specified,
|
|
|
39 |
* the delimiter will be auto-detected. Ignored for non-DSV data feeds.
|
|
|
40 |
* The value may be {@code null}.
|
|
|
41 |
*/
|
|
|
42 |
@com.google.api.client.util.Key
|
|
|
43 |
private java.lang.String columnDelimiter;
|
|
|
44 |
|
|
|
45 |
/**
|
|
|
46 |
* Character encoding scheme of the data feed. If not specified, the encoding will be auto-
|
|
|
47 |
* detected.
|
|
|
48 |
* The value may be {@code null}.
|
|
|
49 |
*/
|
|
|
50 |
@com.google.api.client.util.Key
|
|
|
51 |
private java.lang.String fileEncoding;
|
|
|
52 |
|
|
|
53 |
/**
|
|
|
54 |
* Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected.
|
|
|
55 |
* Ignored for non-DSV data feeds.
|
|
|
56 |
* The value may be {@code null}.
|
|
|
57 |
*/
|
|
|
58 |
@com.google.api.client.util.Key
|
|
|
59 |
private java.lang.String quotingMode;
|
|
|
60 |
|
|
|
61 |
/**
|
|
|
62 |
* Delimiter for the separation of values in a delimiter-separated values feed. If not specified,
|
|
|
63 |
* the delimiter will be auto-detected. Ignored for non-DSV data feeds.
|
|
|
64 |
* @return value or {@code null} for none
|
|
|
65 |
*/
|
|
|
66 |
public java.lang.String getColumnDelimiter() {
|
|
|
67 |
return columnDelimiter;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
/**
|
|
|
71 |
* Delimiter for the separation of values in a delimiter-separated values feed. If not specified,
|
|
|
72 |
* the delimiter will be auto-detected. Ignored for non-DSV data feeds.
|
|
|
73 |
* @param columnDelimiter columnDelimiter or {@code null} for none
|
|
|
74 |
*/
|
|
|
75 |
public DatafeedFormat setColumnDelimiter(java.lang.String columnDelimiter) {
|
|
|
76 |
this.columnDelimiter = columnDelimiter;
|
|
|
77 |
return this;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Character encoding scheme of the data feed. If not specified, the encoding will be auto-
|
|
|
82 |
* detected.
|
|
|
83 |
* @return value or {@code null} for none
|
|
|
84 |
*/
|
|
|
85 |
public java.lang.String getFileEncoding() {
|
|
|
86 |
return fileEncoding;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
/**
|
|
|
90 |
* Character encoding scheme of the data feed. If not specified, the encoding will be auto-
|
|
|
91 |
* detected.
|
|
|
92 |
* @param fileEncoding fileEncoding or {@code null} for none
|
|
|
93 |
*/
|
|
|
94 |
public DatafeedFormat setFileEncoding(java.lang.String fileEncoding) {
|
|
|
95 |
this.fileEncoding = fileEncoding;
|
|
|
96 |
return this;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
/**
|
|
|
100 |
* Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected.
|
|
|
101 |
* Ignored for non-DSV data feeds.
|
|
|
102 |
* @return value or {@code null} for none
|
|
|
103 |
*/
|
|
|
104 |
public java.lang.String getQuotingMode() {
|
|
|
105 |
return quotingMode;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected.
|
|
|
110 |
* Ignored for non-DSV data feeds.
|
|
|
111 |
* @param quotingMode quotingMode or {@code null} for none
|
|
|
112 |
*/
|
|
|
113 |
public DatafeedFormat setQuotingMode(java.lang.String quotingMode) {
|
|
|
114 |
this.quotingMode = quotingMode;
|
|
|
115 |
return this;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
@Override
|
|
|
119 |
public DatafeedFormat set(String fieldName, Object value) {
|
|
|
120 |
return (DatafeedFormat) super.set(fieldName, value);
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
@Override
|
|
|
124 |
public DatafeedFormat clone() {
|
|
|
125 |
return (DatafeedFormat) super.clone();
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
}
|