Java class for capabilityType complex type. 19 | * 20 | *
The following schema fragment specifies the expected content contained within this class. 21 | * 22 | *
23 | * <complexType name="capabilityType"> 24 | * <complexContent> 25 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 26 | * <attribute name="name" use="required"> 27 | * <simpleType> 28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 29 | * <enumeration value="AddComment"/> 30 | * <enumeration value="ChangeHierarchy"/> 31 | * <enumeration value="ChangePermissions"/> 32 | * <enumeration value="Connect"/> 33 | * <enumeration value="Delete"/> 34 | * <enumeration value="ExportData"/> 35 | * <enumeration value="ExportImage"/> 36 | * <enumeration value="ExportXml"/> 37 | * <enumeration value="Filter"/> 38 | * <enumeration value="ProjectLeader"/> 39 | * <enumeration value="Read"/> 40 | * <enumeration value="ShareView"/> 41 | * <enumeration value="ViewComments"/> 42 | * <enumeration value="ViewUnderlyingData"/> 43 | * <enumeration value="WebAuthoring"/> 44 | * <enumeration value="Write"/> 45 | * </restriction> 46 | * </simpleType> 47 | * </attribute> 48 | * <attribute name="mode" use="required"> 49 | * <simpleType> 50 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 51 | * <enumeration value="Allow"/> 52 | * <enumeration value="Deny"/> 53 | * </restriction> 54 | * </simpleType> 55 | * </attribute> 56 | * </restriction> 57 | * </complexContent> 58 | * </complexType> 59 | *60 | * 61 | * 62 | */ 63 | @XmlAccessorType(XmlAccessType.FIELD) 64 | @XmlType(name = "capabilityType") 65 | public class CapabilityType { 66 | 67 | @XmlAttribute(name = "name", required = true) 68 | protected String name; 69 | @XmlAttribute(name = "mode", required = true) 70 | protected String mode; 71 | 72 | /** 73 | * Gets the value of the name property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | public String getName() { 81 | return name; 82 | } 83 | 84 | /** 85 | * Sets the value of the name property. 86 | * 87 | * @param value 88 | * allowed object is 89 | * {@link String } 90 | * 91 | */ 92 | public void setName(String value) { 93 | this.name = value; 94 | } 95 | 96 | /** 97 | * Gets the value of the mode property. 98 | * 99 | * @return 100 | * possible object is 101 | * {@link String } 102 | * 103 | */ 104 | public String getMode() { 105 | return mode; 106 | } 107 | 108 | /** 109 | * Sets the value of the mode property. 110 | * 111 | * @param value 112 | * allowed object is 113 | * {@link String } 114 | * 115 | */ 116 | public void setMode(String value) { 117 | this.mode = value; 118 | } 119 | 120 | } 121 | -------------------------------------------------------------------------------- /java/src/com/tableausoftware/documentation/api/rest/bindings/ErrorType.java: -------------------------------------------------------------------------------- 1 | // 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 3 | // See http://java.sun.com/xml/jaxb 4 | // Any modifications to this file will be lost upon recompilation of the source schema. 5 | // Generated on: 2015.01.30 at 12:49:43 PM PST 6 | // 7 | 8 | package com.tableausoftware.documentation.api.rest.bindings; 9 | 10 | import java.math.BigInteger; 11 | 12 | import javax.xml.bind.annotation.XmlAccessType; 13 | import javax.xml.bind.annotation.XmlAccessorType; 14 | import javax.xml.bind.annotation.XmlAttribute; 15 | import javax.xml.bind.annotation.XmlElement; 16 | import javax.xml.bind.annotation.XmlSchemaType; 17 | import javax.xml.bind.annotation.XmlType; 18 | 19 | /** 20 | *
21 | * Java class for errorType complex type. 22 | * 23 | *
24 | * The following schema fragment specifies the expected content contained within 25 | * this class. 26 | * 27 | *
28 | * <complexType name="errorType"> 29 | * <complexContent> 30 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 31 | * <sequence> 32 | * <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string"/> 33 | * <element name="detail" type="{http://www.w3.org/2001/XMLSchema}string"/> 34 | * </sequence> 35 | * <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> 36 | * </restriction> 37 | * </complexContent> 38 | * </complexType> 39 | *40 | * 41 | * 42 | */ 43 | @XmlAccessorType(XmlAccessType.FIELD) 44 | @XmlType(name = "errorType", propOrder = { "summary", "detail" }) 45 | public class ErrorType { 46 | 47 | @XmlElement(required = true) 48 | protected String summary; 49 | @XmlElement(required = true) 50 | protected String detail; 51 | @XmlAttribute(name = "code", required = true) 52 | @XmlSchemaType(name = "positiveInteger") 53 | protected BigInteger code; 54 | 55 | /** 56 | * Gets the value of the summary property. 57 | * 58 | * @return possible object is {@link String } 59 | * 60 | */ 61 | public String getSummary() { 62 | return summary; 63 | } 64 | 65 | /** 66 | * Sets the value of the summary property. 67 | * 68 | * @param value 69 | * allowed object is {@link String } 70 | * 71 | */ 72 | public void setSummary(String value) { 73 | this.summary = value; 74 | } 75 | 76 | /** 77 | * Gets the value of the detail property. 78 | * 79 | * @return possible object is {@link String } 80 | * 81 | */ 82 | public String getDetail() { 83 | return detail; 84 | } 85 | 86 | /** 87 | * Sets the value of the detail property. 88 | * 89 | * @param value 90 | * allowed object is {@link String } 91 | * 92 | */ 93 | public void setDetail(String value) { 94 | this.detail = value; 95 | } 96 | 97 | /** 98 | * Gets the value of the code property. 99 | * 100 | * @return possible object is {@link BigInteger } 101 | * 102 | */ 103 | public BigInteger getCode() { 104 | return code; 105 | } 106 | 107 | /** 108 | * Sets the value of the code property. 109 | * 110 | * @param value 111 | * allowed object is {@link BigInteger } 112 | * 113 | */ 114 | public void setCode(BigInteger value) { 115 | this.code = value; 116 | } 117 | 118 | } 119 | -------------------------------------------------------------------------------- /java/src/com/tableausoftware/documentation/api/rest/bindings/FileUploadType.java: -------------------------------------------------------------------------------- 1 | // 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 3 | // See http://java.sun.com/xml/jaxb 4 | // Any modifications to this file will be lost upon recompilation of the source schema. 5 | // Generated on: 2015.02.17 at 01:46:22 PM PST 6 | // 7 | 8 | 9 | package com.tableausoftware.documentation.api.rest.bindings; 10 | 11 | import java.math.BigInteger; 12 | 13 | import javax.xml.bind.annotation.XmlAccessType; 14 | import javax.xml.bind.annotation.XmlAccessorType; 15 | import javax.xml.bind.annotation.XmlAttribute; 16 | import javax.xml.bind.annotation.XmlSchemaType; 17 | import javax.xml.bind.annotation.XmlType; 18 | 19 | 20 | /** 21 | *
Java class for fileUploadType complex type. 22 | * 23 | *
The following schema fragment specifies the expected content contained within this class. 24 | * 25 | *
26 | * <complexType name="fileUploadType"> 27 | * <complexContent> 28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 | * <attribute name="uploadSessionId" use="required" type="{http://tableau.com/api}fileUploadSessionIdType" /> 30 | * <attribute name="fileSize" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> 31 | * </restriction> 32 | * </complexContent> 33 | * </complexType> 34 | *35 | * 36 | * 37 | */ 38 | @XmlAccessorType(XmlAccessType.FIELD) 39 | @XmlType(name = "fileUploadType") 40 | public class FileUploadType { 41 | 42 | @XmlAttribute(name = "uploadSessionId", required = true) 43 | protected String uploadSessionId; 44 | @XmlAttribute(name = "fileSize") 45 | @XmlSchemaType(name = "nonNegativeInteger") 46 | protected BigInteger fileSize; 47 | 48 | /** 49 | * Gets the value of the uploadSessionId property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link String } 54 | * 55 | */ 56 | public String getUploadSessionId() { 57 | return uploadSessionId; 58 | } 59 | 60 | /** 61 | * Sets the value of the uploadSessionId property. 62 | * 63 | * @param value 64 | * allowed object is 65 | * {@link String } 66 | * 67 | */ 68 | public void setUploadSessionId(String value) { 69 | this.uploadSessionId = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the fileSize property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link BigInteger } 78 | * 79 | */ 80 | public BigInteger getFileSize() { 81 | return fileSize; 82 | } 83 | 84 | /** 85 | * Sets the value of the fileSize property. 86 | * 87 | * @param value 88 | * allowed object is 89 | * {@link BigInteger } 90 | * 91 | */ 92 | public void setFileSize(BigInteger value) { 93 | this.fileSize = value; 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /java/src/com/tableausoftware/documentation/api/rest/bindings/GranteeCapabilitiesType.java: -------------------------------------------------------------------------------- 1 | // 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 3 | // See http://java.sun.com/xml/jaxb 4 | // Any modifications to this file will be lost upon recompilation of the source schema. 5 | // Generated on: 2015.01.30 at 12:49:43 PM PST 6 | // 7 | 8 | package com.tableausoftware.documentation.api.rest.bindings; 9 | 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | import javax.xml.bind.annotation.XmlAccessType; 14 | import javax.xml.bind.annotation.XmlAccessorType; 15 | import javax.xml.bind.annotation.XmlElement; 16 | import javax.xml.bind.annotation.XmlType; 17 | 18 | /** 19 | *
20 | * Java class for granteeCapabilitiesType complex type. 21 | * 22 | *
23 | * The following schema fragment specifies the expected content contained within 24 | * this class. 25 | * 26 | *
27 | * <complexType name="granteeCapabilitiesType"> 28 | * <complexContent> 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 30 | * <sequence> 31 | * <choice> 32 | * <element name="group" type="{http://tableau.com/api}groupType"/> 33 | * <element name="user" type="{http://tableau.com/api}userType"/> 34 | * </choice> 35 | * <element name="capabilities"> 36 | * <complexType> 37 | * <complexContent> 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 39 | * <sequence> 40 | * <element name="capability" type="{http://tableau.com/api}capabilityType" maxOccurs="unbounded"/> 41 | * </sequence> 42 | * </restriction> 43 | * </complexContent> 44 | * </complexType> 45 | * </element> 46 | * </sequence> 47 | * </restriction> 48 | * </complexContent> 49 | * </complexType> 50 | *51 | * 52 | * 53 | */ 54 | @XmlAccessorType(XmlAccessType.FIELD) 55 | @XmlType(name = "granteeCapabilitiesType", propOrder = { "group", "user", "capabilities" }) 56 | public class GranteeCapabilitiesType { 57 | 58 | protected GroupType group; 59 | protected UserType user; 60 | @XmlElement(required = true) 61 | protected GranteeCapabilitiesType.Capabilities capabilities; 62 | 63 | /** 64 | * Gets the value of the group property. 65 | * 66 | * @return possible object is {@link GroupType } 67 | * 68 | */ 69 | public GroupType getGroup() { 70 | return group; 71 | } 72 | 73 | /** 74 | * Sets the value of the group property. 75 | * 76 | * @param value 77 | * allowed object is {@link GroupType } 78 | * 79 | */ 80 | public void setGroup(GroupType value) { 81 | this.group = value; 82 | } 83 | 84 | /** 85 | * Gets the value of the user property. 86 | * 87 | * @return possible object is {@link UserType } 88 | * 89 | */ 90 | public UserType getUser() { 91 | return user; 92 | } 93 | 94 | /** 95 | * Sets the value of the user property. 96 | * 97 | * @param value 98 | * allowed object is {@link UserType } 99 | * 100 | */ 101 | public void setUser(UserType value) { 102 | this.user = value; 103 | } 104 | 105 | /** 106 | * Gets the value of the capabilities property. 107 | * 108 | * @return possible object is {@link GranteeCapabilitiesType.Capabilities } 109 | * 110 | */ 111 | public GranteeCapabilitiesType.Capabilities getCapabilities() { 112 | return capabilities; 113 | } 114 | 115 | /** 116 | * Sets the value of the capabilities property. 117 | * 118 | * @param value 119 | * allowed object is {@link GranteeCapabilitiesType.Capabilities } 120 | * 121 | */ 122 | public void setCapabilities(GranteeCapabilitiesType.Capabilities value) { 123 | this.capabilities = value; 124 | } 125 | 126 | /** 127 | *
128 | * Java class for anonymous complex type. 129 | * 130 | *
131 | * The following schema fragment specifies the expected content contained 132 | * within this class. 133 | * 134 | *
135 | * <complexType> 136 | * <complexContent> 137 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 138 | * <sequence> 139 | * <element name="capability" type="{http://tableau.com/api}capabilityType" maxOccurs="unbounded"/> 140 | * </sequence> 141 | * </restriction> 142 | * </complexContent> 143 | * </complexType> 144 | *145 | * 146 | * 147 | */ 148 | @XmlAccessorType(XmlAccessType.FIELD) 149 | @XmlType(name = "", propOrder = { "capability" }) 150 | public static class Capabilities { 151 | 152 | @XmlElement(required = true) 153 | protected List
159 | * This accessor method returns a reference to the live list, not a
160 | * snapshot. Therefore any modification you make to the returned list
161 | * will be present inside the JAXB object. This is why there is not a
162 | * set
method for the capability property.
163 | *
164 | *
165 | * For example, to add a new item, do as follows: 166 | * 167 | *
168 | * getCapability().add(newItem); 169 | *170 | * 171 | * 172 | *
173 | * Objects of the following type(s) are allowed in the list
174 | * {@link CapabilityType }
175 | *
176 | *
177 | */
178 | public List
19 | * Java class for groupListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list
64 | * {@link GroupType }
65 | *
66 | *
67 | */
68 | public List Java class for groupType complex type.
19 | *
20 | * The following schema fragment specifies the expected content contained within this class.
21 | *
22 | * An ObjectFactory allows you to programatically
19 | * construct new instances of the Java representation
20 | * for XML content. The Java representation of XML
21 | * content can consist of schema derived interfaces
22 | * and classes representing the binding of schema
23 | * type definitions, element declarations and model
24 | * groups. Factory methods for each of these are
25 | * provided in this class.
26 | *
27 | */
28 | @XmlRegistry
29 | public class ObjectFactory {
30 |
31 |
32 | /**
33 | * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.tableausoftware.documentation.api.rest.bindings
34 | *
35 | */
36 | public ObjectFactory() {
37 | }
38 |
39 | /**
40 | * Create an instance of {@link GranteeCapabilitiesType }
41 | *
42 | */
43 | public GranteeCapabilitiesType createGranteeCapabilitiesType() {
44 | return new GranteeCapabilitiesType();
45 | }
46 |
47 | /**
48 | * Create an instance of {@link SiteType }
49 | *
50 | */
51 | public SiteType createSiteType() {
52 | return new SiteType();
53 | }
54 |
55 | /**
56 | * Create an instance of {@link TsResponse }
57 | *
58 | */
59 | public TsResponse createTsResponse() {
60 | return new TsResponse();
61 | }
62 |
63 | /**
64 | * Create an instance of {@link TableauCredentialsType }
65 | *
66 | */
67 | public TableauCredentialsType createTableauCredentialsType() {
68 | return new TableauCredentialsType();
69 | }
70 |
71 | /**
72 | * Create an instance of {@link GroupType }
73 | *
74 | */
75 | public GroupType createGroupType() {
76 | return new GroupType();
77 | }
78 |
79 | /**
80 | * Create an instance of {@link PermissionsType }
81 | *
82 | */
83 | public PermissionsType createPermissionsType() {
84 | return new PermissionsType();
85 | }
86 |
87 | /**
88 | * Create an instance of {@link ProjectType }
89 | *
90 | */
91 | public ProjectType createProjectType() {
92 | return new ProjectType();
93 | }
94 |
95 | /**
96 | * Create an instance of {@link WorkbookType }
97 | *
98 | */
99 | public WorkbookType createWorkbookType() {
100 | return new WorkbookType();
101 | }
102 |
103 | /**
104 | * Create an instance of {@link TsRequest }
105 | *
106 | */
107 | public TsRequest createTsRequest() {
108 | return new TsRequest();
109 | }
110 |
111 | /**
112 | * Create an instance of {@link CapabilityType }
113 | *
114 | */
115 | public CapabilityType createCapabilityType() {
116 | return new CapabilityType();
117 | }
118 |
119 | /**
120 | * Create an instance of {@link GranteeCapabilitiesType.Capabilities }
121 | *
122 | */
123 | public GranteeCapabilitiesType.Capabilities createGranteeCapabilitiesTypeCapabilities() {
124 | return new GranteeCapabilitiesType.Capabilities();
125 | }
126 |
127 | }
128 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/PaginationType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.math.BigInteger;
11 |
12 | import javax.xml.bind.annotation.XmlAccessType;
13 | import javax.xml.bind.annotation.XmlAccessorType;
14 | import javax.xml.bind.annotation.XmlAttribute;
15 | import javax.xml.bind.annotation.XmlSchemaType;
16 | import javax.xml.bind.annotation.XmlType;
17 |
18 | /**
19 | *
20 | * Java class for paginationType complex type.
21 | *
22 | *
23 | * The following schema fragment specifies the expected content contained within
24 | * this class.
25 | *
26 | * Java class for parentType complex type.
19 | *
20 | * The following schema fragment specifies the expected content contained within this class.
21 | *
22 | * Java class for permissionsType complex type.
21 | *
22 | * The following schema fragment specifies the expected content contained within this class.
23 | *
24 | *
108 | * This accessor method returns a reference to the live list,
109 | * not a snapshot. Therefore any modification you make to the
110 | * returned list will be present inside the JAXB object.
111 | * This is why there is not a
114 | * For example, to add a new item, do as follows:
115 | *
121 | * Objects of the following type(s) are allowed in the list
122 | * {@link GranteeCapabilitiesType }
123 | *
124 | *
125 | */
126 | public List
19 | * Java class for projectListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list
64 | * {@link ProjectType }
65 | *
66 | *
67 | */
68 | public List Java class for projectType complex type.
18 | *
19 | * The following schema fragment specifies the expected content contained within this class.
20 | *
21 | *
19 | * Java class for siteListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list {@link SiteType }
64 | *
65 | *
66 | */
67 | public List
16 | * Java class for siteRoleType.
17 | *
18 | *
19 | * The following schema fragment specifies the expected content contained within this class.
20 | *
21 | *
22 | *
20 | * Java class for siteType complex type.
21 | *
22 | *
23 | * The following schema fragment specifies the expected content contained within
24 | * this class.
25 | *
26 | *
284 | * Java class for anonymous complex type.
285 | *
286 | *
287 | * The following schema fragment specifies the expected content contained
288 | * within this class.
289 | *
290 | *
18 | * Java class for tableauCredentialsType complex type.
19 | *
20 | *
21 | * The following schema fragment specifies the expected content contained within
22 | * this class.
23 | *
24 | *
19 | * Java class for tagListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list {@link TagType }
64 | *
65 | *
66 | */
67 | public List
17 | * Java class for tagType complex type.
18 | *
19 | *
20 | * The following schema fragment specifies the expected content contained within
21 | * this class.
22 | *
23 | *
17 | * Java class for anonymous complex type.
18 | *
19 | *
20 | * The following schema fragment specifies the expected content contained within
21 | * this class.
22 | *
23 | * Java class for anonymous complex type.
19 | *
20 | * The following schema fragment specifies the expected content contained within this class.
21 | *
22 | *
19 | * Java class for userType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
19 | * Java class for viewListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list {@link ViewType }
64 | *
65 | *
66 | */
67 | public List
20 | * Java class for viewType complex type.
21 | *
22 | *
23 | * The following schema fragment specifies the expected content contained within
24 | * this class.
25 | *
26 | *
149 | * Java class for anonymous complex type.
150 | *
151 | *
152 | * The following schema fragment specifies the expected content contained
153 | * within this class.
154 | *
155 | *
19 | * Java class for workbookListType complex type.
20 | *
21 | *
22 | * The following schema fragment specifies the expected content contained within
23 | * this class.
24 | *
25 | *
49 | * This accessor method returns a reference to the live list, not a
50 | * snapshot. Therefore any modification you make to the returned list will
51 | * be present inside the JAXB object. This is why there is not a
52 | *
55 | * For example, to add a new item, do as follows:
56 | *
57 | *
63 | * Objects of the following type(s) are allowed in the list
64 | * {@link WorkbookType }
65 | *
66 | *
67 | */
68 | public List Java class for workbookType complex type.
17 | *
18 | * The following schema fragment specifies the expected content contained within this class.
19 | *
20 | *
26 | * <complexType name="groupListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="group" type="{http://tableau.com/api}groupType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "groupListType", propOrder = { "group" })
41 | public class GroupListType {
42 |
43 | protected Listset
method for the group property.
53 | *
54 | *
58 | * getGroup().add(newItem);
59 | *
60 | *
61 | *
62 | *
23 | * <complexType name="groupType">
24 | * <complexContent>
25 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 | * <sequence>
27 | * <element name="domain" type="{http://tableau.com/api}domainDirectiveType" minOccurs="0"/>
28 | * <element name="import" type="{http://tableau.com/api}importDirectiveType" minOccurs="0"/>
29 | * </sequence>
30 | * <attribute name="id" type="{http://tableau.com/api}resourceIdType" />
31 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "groupType", propOrder = {
41 | })
42 | public class GroupType {
43 |
44 | @XmlAttribute(name = "id")
45 | protected String id;
46 | @XmlAttribute(name = "name")
47 | protected String name;
48 |
49 | /**
50 | * Gets the value of the id property.
51 | *
52 | * @return
53 | * possible object is
54 | * {@link String }
55 | *
56 | */
57 | public String getId() {
58 | return id;
59 | }
60 |
61 | /**
62 | * Sets the value of the id property.
63 | *
64 | * @param value
65 | * allowed object is
66 | * {@link String }
67 | *
68 | */
69 | public void setId(String value) {
70 | this.id = value;
71 | }
72 |
73 | /**
74 | * Gets the value of the name property.
75 | *
76 | * @return
77 | * possible object is
78 | * {@link String }
79 | *
80 | */
81 | public String getName() {
82 | return name;
83 | }
84 |
85 | /**
86 | * Sets the value of the name property.
87 | *
88 | * @param value
89 | * allowed object is
90 | * {@link String }
91 | *
92 | */
93 | public void setName(String value) {
94 | this.name = value;
95 | }
96 |
97 | }
98 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/ObjectFactory.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 |
9 | package com.tableausoftware.documentation.api.rest.bindings;
10 |
11 | import javax.xml.bind.annotation.XmlRegistry;
12 |
13 |
14 | /**
15 | * This object contains factory methods for each
16 | * Java content interface and Java element interface
17 | * generated in the com.tableausoftware.documentation.api.rest.bindings package.
18 | *
27 | * <complexType name="paginationType">
28 | * <complexContent>
29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 | * <attribute name="pageNumber" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
31 | * <attribute name="pageSize" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
32 | * <attribute name="totalAvailable" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
33 | * </restriction>
34 | * </complexContent>
35 | * </complexType>
36 | *
37 | *
38 | *
39 | */
40 | @XmlAccessorType(XmlAccessType.FIELD)
41 | @XmlType(name = "paginationType")
42 | public class PaginationType {
43 |
44 | @XmlAttribute(name = "pageNumber", required = true)
45 | @XmlSchemaType(name = "positiveInteger")
46 | protected BigInteger pageNumber;
47 | @XmlAttribute(name = "pageSize", required = true)
48 | @XmlSchemaType(name = "nonNegativeInteger")
49 | protected BigInteger pageSize;
50 | @XmlAttribute(name = "totalAvailable", required = true)
51 | @XmlSchemaType(name = "nonNegativeInteger")
52 | protected BigInteger totalAvailable;
53 |
54 | /**
55 | * Gets the value of the pageNumber property.
56 | *
57 | * @return possible object is {@link BigInteger }
58 | *
59 | */
60 | public BigInteger getPageNumber() {
61 | return pageNumber;
62 | }
63 |
64 | /**
65 | * Sets the value of the pageNumber property.
66 | *
67 | * @param value
68 | * allowed object is {@link BigInteger }
69 | *
70 | */
71 | public void setPageNumber(BigInteger value) {
72 | this.pageNumber = value;
73 | }
74 |
75 | /**
76 | * Gets the value of the pageSize property.
77 | *
78 | * @return possible object is {@link BigInteger }
79 | *
80 | */
81 | public BigInteger getPageSize() {
82 | return pageSize;
83 | }
84 |
85 | /**
86 | * Sets the value of the pageSize property.
87 | *
88 | * @param value
89 | * allowed object is {@link BigInteger }
90 | *
91 | */
92 | public void setPageSize(BigInteger value) {
93 | this.pageSize = value;
94 | }
95 |
96 | /**
97 | * Gets the value of the totalAvailable property.
98 | *
99 | * @return possible object is {@link BigInteger }
100 | *
101 | */
102 | public BigInteger getTotalAvailable() {
103 | return totalAvailable;
104 | }
105 |
106 | /**
107 | * Sets the value of the totalAvailable property.
108 | *
109 | * @param value
110 | * allowed object is {@link BigInteger }
111 | *
112 | */
113 | public void setTotalAvailable(BigInteger value) {
114 | this.totalAvailable = value;
115 | }
116 |
117 | }
118 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/ParentType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.09.21 at 01:55:40 PM PDT
6 | //
7 |
8 |
9 | package com.tableausoftware.documentation.api.rest.bindings;
10 |
11 | import javax.xml.bind.annotation.XmlAccessType;
12 | import javax.xml.bind.annotation.XmlAccessorType;
13 | import javax.xml.bind.annotation.XmlAttribute;
14 | import javax.xml.bind.annotation.XmlType;
15 |
16 |
17 | /**
18 | *
23 | * <complexType name="parentType">
24 | * <complexContent>
25 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 | * <attribute name="id" use="required" type="{http://tableau.com/api}resourceIdType" />
27 | * <attribute name="type" use="required">
28 | * <simpleType>
29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
30 | * <enumeration value="Project"/>
31 | * </restriction>
32 | * </simpleType>
33 | * </attribute>
34 | * </restriction>
35 | * </complexContent>
36 | * </complexType>
37 | *
38 | *
39 | *
40 | */
41 | @XmlAccessorType(XmlAccessType.FIELD)
42 | @XmlType(name = "parentType")
43 | public class ParentType {
44 |
45 | @XmlAttribute(name = "id", required = true)
46 | protected String id;
47 | @XmlAttribute(name = "type", required = true)
48 | protected String type;
49 |
50 | /**
51 | * Gets the value of the id property.
52 | *
53 | * @return
54 | * possible object is
55 | * {@link String }
56 | *
57 | */
58 | public String getId() {
59 | return id;
60 | }
61 |
62 | /**
63 | * Sets the value of the id property.
64 | *
65 | * @param value
66 | * allowed object is
67 | * {@link String }
68 | *
69 | */
70 | public void setId(String value) {
71 | this.id = value;
72 | }
73 |
74 | /**
75 | * Gets the value of the type property.
76 | *
77 | * @return
78 | * possible object is
79 | * {@link String }
80 | *
81 | */
82 | public String getType() {
83 | return type;
84 | }
85 |
86 | /**
87 | * Sets the value of the type property.
88 | *
89 | * @param value
90 | * allowed object is
91 | * {@link String }
92 | *
93 | */
94 | public void setType(String value) {
95 | this.type = value;
96 | }
97 |
98 | }
99 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/PermissionsType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.09.21 at 01:55:40 PM PDT
6 | //
7 |
8 |
9 | package com.tableausoftware.documentation.api.rest.bindings;
10 |
11 | import java.util.ArrayList;
12 | import java.util.List;
13 |
14 | import javax.xml.bind.annotation.XmlAccessType;
15 | import javax.xml.bind.annotation.XmlAccessorType;
16 | import javax.xml.bind.annotation.XmlType;
17 |
18 |
19 | /**
20 | *
25 | * <complexType name="permissionsType">
26 | * <complexContent>
27 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 | * <sequence>
29 | * <element name="parent" type="{http://tableau.com/api}parentType" minOccurs="0"/>
30 | * <choice minOccurs="0">
31 | * <element name="datasource" type="{http://tableau.com/api}dataSourceType"/>
32 | * <element name="project" type="{http://tableau.com/api}projectType"/>
33 | * <element name="workbook" type="{http://tableau.com/api}workbookType"/>
34 | * </choice>
35 | * <element name="granteeCapabilities" type="{http://tableau.com/api}granteeCapabilitiesType" maxOccurs="unbounded" minOccurs="0"/>
36 | * </sequence>
37 | * </restriction>
38 | * </complexContent>
39 | * </complexType>
40 | *
41 | *
42 | *
43 | */
44 | @XmlAccessorType(XmlAccessType.FIELD)
45 | @XmlType(name = "permissionsType", propOrder = {
46 | "parent",
47 | "workbook",
48 | "granteeCapabilities"
49 | })
50 | public class PermissionsType {
51 |
52 | protected ParentType parent;
53 | protected WorkbookType workbook;
54 | protected Listset
method for the granteeCapabilities property.
112 | *
113 | *
116 | * getGranteeCapabilities().add(newItem);
117 | *
118 | *
119 | *
120 | *
26 | * <complexType name="projectListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="project" type="{http://tableau.com/api}projectType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "projectListType", propOrder = { "project" })
41 | public class ProjectListType {
42 |
43 | protected Listset
method for the project property.
53 | *
54 | *
58 | * getProject().add(newItem);
59 | *
60 | *
61 | *
62 | *
22 | * <complexType name="projectType">
23 | * <complexContent>
24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 | * <sequence>
26 | * <element name="owner" type="{http://tableau.com/api}userType" minOccurs="0"/>
27 | * </sequence>
28 | * <attribute name="id" type="{http://tableau.com/api}resourceIdType" />
29 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
30 | * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
31 | * <attribute name="contentPermissions">
32 | * <simpleType>
33 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
34 | * <enumeration value="LockedToProject"/>
35 | * <enumeration value="ManagedByOwner"/>
36 | * </restriction>
37 | * </simpleType>
38 | * </attribute>
39 | * </restriction>
40 | * </complexContent>
41 | * </complexType>
42 | *
43 | *
44 | *
45 | */
46 | @XmlAccessorType(XmlAccessType.FIELD)
47 | @XmlType(name = "projectType", propOrder = {
48 | "owner"
49 | })
50 | public class ProjectType {
51 |
52 | protected UserType owner;
53 | @XmlAttribute(name = "id")
54 | protected String id;
55 | @XmlAttribute(name = "name")
56 | protected String name;
57 | @XmlAttribute(name = "description")
58 | protected String description;
59 | @XmlAttribute(name = "contentPermissions")
60 | protected String contentPermissions;
61 |
62 | /**
63 | * Gets the value of the owner property.
64 | *
65 | * @return
66 | * possible object is
67 | * {@link UserType }
68 | *
69 | */
70 | public UserType getOwner() {
71 | return owner;
72 | }
73 |
74 | /**
75 | * Sets the value of the owner property.
76 | *
77 | * @param value
78 | * allowed object is
79 | * {@link UserType }
80 | *
81 | */
82 | public void setOwner(UserType value) {
83 | this.owner = value;
84 | }
85 |
86 | /**
87 | * Gets the value of the id property.
88 | *
89 | * @return
90 | * possible object is
91 | * {@link String }
92 | *
93 | */
94 | public String getId() {
95 | return id;
96 | }
97 |
98 | /**
99 | * Sets the value of the id property.
100 | *
101 | * @param value
102 | * allowed object is
103 | * {@link String }
104 | *
105 | */
106 | public void setId(String value) {
107 | this.id = value;
108 | }
109 |
110 | /**
111 | * Gets the value of the name property.
112 | *
113 | * @return
114 | * possible object is
115 | * {@link String }
116 | *
117 | */
118 | public String getName() {
119 | return name;
120 | }
121 |
122 | /**
123 | * Sets the value of the name property.
124 | *
125 | * @param value
126 | * allowed object is
127 | * {@link String }
128 | *
129 | */
130 | public void setName(String value) {
131 | this.name = value;
132 | }
133 |
134 | /**
135 | * Gets the value of the description property.
136 | *
137 | * @return
138 | * possible object is
139 | * {@link String }
140 | *
141 | */
142 | public String getDescription() {
143 | return description;
144 | }
145 |
146 | /**
147 | * Sets the value of the description property.
148 | *
149 | * @param value
150 | * allowed object is
151 | * {@link String }
152 | *
153 | */
154 | public void setDescription(String value) {
155 | this.description = value;
156 | }
157 |
158 | /**
159 | * Gets the value of the contentPermissions property.
160 | *
161 | * @return
162 | * possible object is
163 | * {@link String }
164 | *
165 | */
166 | public String getContentPermissions() {
167 | return contentPermissions;
168 | }
169 |
170 | /**
171 | * Sets the value of the contentPermissions property.
172 | *
173 | * @param value
174 | * allowed object is
175 | * {@link String }
176 | *
177 | */
178 | public void setContentPermissions(String value) {
179 | this.contentPermissions = value;
180 | }
181 |
182 | }
183 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/SiteListType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.util.ArrayList;
11 | import java.util.List;
12 |
13 | import javax.xml.bind.annotation.XmlAccessType;
14 | import javax.xml.bind.annotation.XmlAccessorType;
15 | import javax.xml.bind.annotation.XmlType;
16 |
17 | /**
18 | *
26 | * <complexType name="siteListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="site" type="{http://tableau.com/api}siteType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "siteListType", propOrder = { "site" })
41 | public class SiteListType {
42 |
43 | protected Listset
method for the site property.
53 | *
54 | *
58 | * getSite().add(newItem);
59 | *
60 | *
61 | *
62 | *
23 | * <simpleType name="siteRoleType">
24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
25 | * <enumeration value="Guest"/>
26 | * <enumeration value="Creator"/>
27 | * <enumeration value="Explorer"/>
28 | * <enumeration value="ExplorerCanPublish"/>
29 | * <enumeration value="ReadOnly"/>
30 | * <enumeration value="Interactor"/>
31 | * <enumeration value="Publisher"/>
32 | * <enumeration value="ServerAdministrator"/>
33 | * <enumeration value="SiteAdministrator"/>
34 | * <enumeration value="SiteAdministratorCreator"/>
35 | * <enumeration value="SiteAdministratorExplorer"/>
36 | * <enumeration value="Unlicensed"/>
37 | * <enumeration value="UnlicensedWithPublish"/>
38 | * <enumeration value="Viewer"/>
39 | * <enumeration value="ViewerWithPublish"/>
40 | * </restriction>
41 | * </simpleType>
42 | *
43 | *
44 | */
45 | @XmlType(name = "siteRoleType")
46 | @XmlEnum
47 | public enum SiteRoleType {
48 |
49 | @XmlEnumValue("Guest")
50 | GUEST("Guest"),
51 | @XmlEnumValue("Creator")
52 | CREATOR("Creator"),
53 | @XmlEnumValue("Explorer")
54 | EXPLORER("Explorer"),
55 | @XmlEnumValue("ExplorerCanPublish")
56 | EXPLORERCANPUBLISH("ExplorerCanPublish"),
57 | @XmlEnumValue("ReadOnly")
58 | READONLY("ReadOnly"),
59 | @XmlEnumValue("Interactor")
60 | INTERACTOR("Interactor"),
61 | @XmlEnumValue("Publisher")
62 | PUBLISHER("Publisher"),
63 | @XmlEnumValue("ServerAdministrator")
64 | SERVER_ADMINISTRATOR("ServerAdministrator"),
65 | @XmlEnumValue("SiteAdministrator")
66 | SITE_ADMINISTRATOR("SiteAdministrator"),
67 | @XmlEnumValue("SiteAdministratorCreator")
68 | SITE_ADMINISTRATOR_CREATOR("SiteAdministratorCreator"),
69 | @XmlEnumValue("SiteAdministratorExplorer")
70 | SITE_ADMINISTRATOR_EXPLORER("SiteAdministratorExplorer"),
71 | @XmlEnumValue("Unlicensed")
72 | UNLICENSED("Unlicensed"),
73 | @XmlEnumValue("UnlicensedWithPublish")
74 | UNLICENSED_WITH_PUBLISH("UnlicensedWithPublish"),
75 | @XmlEnumValue("Viewer")
76 | VIEWER("Viewer"),
77 | @XmlEnumValue("ViewerWithPublish")
78 | VIEWER_WITH_PUBLISH("ViewerWithPublish");
79 |
80 | private final String value;
81 |
82 | SiteRoleType(String v) {
83 | value = v;
84 | }
85 |
86 | public String value() {
87 | return value;
88 | }
89 |
90 | public static SiteRoleType fromValue(String v) {
91 | for (SiteRoleType c : SiteRoleType.values()) {
92 | if (c.value.equals(v)) {
93 | return c;
94 | }
95 | }
96 | throw new IllegalArgumentException(v);
97 | }
98 |
99 | }
100 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/SiteType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.09.21 at 01:55:40 PM PDT
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.math.BigInteger;
11 |
12 | import javax.xml.bind.annotation.XmlAccessType;
13 | import javax.xml.bind.annotation.XmlAccessorType;
14 | import javax.xml.bind.annotation.XmlAttribute;
15 | import javax.xml.bind.annotation.XmlSchemaType;
16 | import javax.xml.bind.annotation.XmlType;
17 |
18 | /**
19 | *
27 | * <complexType name="siteType">
28 | * <complexContent>
29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 | * <sequence>
31 | * <element name="usage" minOccurs="0">
32 | * <complexType>
33 | * <complexContent>
34 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 | * <attribute name="numUsers" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
36 | * <attribute name="storage" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
37 | * </restriction>
38 | * </complexContent>
39 | * </complexType>
40 | * </element>
41 | * </sequence>
42 | * <attribute name="id" type="{http://tableau.com/api}resourceIdType" />
43 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
44 | * <attribute name="contentUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
45 | * <attribute name="adminMode">
46 | * <simpleType>
47 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
48 | * <enumeration value="ContentOnly"/>
49 | * <enumeration value="ContentAndUsers"/>
50 | * </restriction>
51 | * </simpleType>
52 | * </attribute>
53 | * <attribute name="userQuota" type="{http://tableau.com/api}siteQuotaType" />
54 | * <attribute name="storageQuota" type="{http://tableau.com/api}siteQuotaType" />
55 | * <attribute name="disableSubscriptions" type="{http://www.w3.org/2001/XMLSchema}boolean" />
56 | * <attribute name="state">
57 | * <simpleType>
58 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
59 | * <enumeration value="Active"/>
60 | * <enumeration value="Suspended"/>
61 | * </restriction>
62 | * </simpleType>
63 | * </attribute>
64 | * </restriction>
65 | * </complexContent>
66 | * </complexType>
67 | *
68 | *
69 | *
70 | */
71 | @XmlAccessorType(XmlAccessType.FIELD)
72 | @XmlType(name = "siteType", propOrder = { "usage" })
73 | public class SiteType {
74 |
75 | protected SiteType.Usage usage;
76 | @XmlAttribute(name = "id")
77 | protected String id;
78 | @XmlAttribute(name = "name")
79 | protected String name;
80 | @XmlAttribute(name = "contentUrl")
81 | protected String contentUrl;
82 | @XmlAttribute(name = "adminMode")
83 | protected String adminMode;
84 | @XmlAttribute(name = "userQuota")
85 | protected BigInteger userQuota;
86 | @XmlAttribute(name = "storageQuota")
87 | protected BigInteger storageQuota;
88 | @XmlAttribute(name = "disableSubscriptions")
89 | protected Boolean disableSubscriptions;
90 | @XmlAttribute(name = "state")
91 | protected String state;
92 |
93 | /**
94 | * Gets the value of the usage property.
95 | *
96 | * @return possible object is {@link SiteType.Usage }
97 | *
98 | */
99 | public SiteType.Usage getUsage() {
100 | return usage;
101 | }
102 |
103 | /**
104 | * Sets the value of the usage property.
105 | *
106 | * @param value
107 | * allowed object is {@link SiteType.Usage }
108 | *
109 | */
110 | public void setUsage(SiteType.Usage value) {
111 | this.usage = value;
112 | }
113 |
114 | /**
115 | * Gets the value of the id property.
116 | *
117 | * @return possible object is {@link String }
118 | *
119 | */
120 | public String getId() {
121 | return id;
122 | }
123 |
124 | /**
125 | * Sets the value of the id property.
126 | *
127 | * @param value
128 | * allowed object is {@link String }
129 | *
130 | */
131 | public void setId(String value) {
132 | this.id = value;
133 | }
134 |
135 | /**
136 | * Gets the value of the name property.
137 | *
138 | * @return possible object is {@link String }
139 | *
140 | */
141 | public String getName() {
142 | return name;
143 | }
144 |
145 | /**
146 | * Sets the value of the name property.
147 | *
148 | * @param value
149 | * allowed object is {@link String }
150 | *
151 | */
152 | public void setName(String value) {
153 | this.name = value;
154 | }
155 |
156 | /**
157 | * Gets the value of the contentUrl property.
158 | *
159 | * @return possible object is {@link String }
160 | *
161 | */
162 | public String getContentUrl() {
163 | return contentUrl;
164 | }
165 |
166 | /**
167 | * Sets the value of the contentUrl property.
168 | *
169 | * @param value
170 | * allowed object is {@link String }
171 | *
172 | */
173 | public void setContentUrl(String value) {
174 | this.contentUrl = value;
175 | }
176 |
177 | /**
178 | * Gets the value of the adminMode property.
179 | *
180 | * @return possible object is {@link String }
181 | *
182 | */
183 | public String getAdminMode() {
184 | return adminMode;
185 | }
186 |
187 | /**
188 | * Sets the value of the adminMode property.
189 | *
190 | * @param value
191 | * allowed object is {@link String }
192 | *
193 | */
194 | public void setAdminMode(String value) {
195 | this.adminMode = value;
196 | }
197 |
198 | /**
199 | * Gets the value of the userQuota property.
200 | *
201 | * @return possible object is {@link BigInteger }
202 | *
203 | */
204 | public BigInteger getUserQuota() {
205 | return userQuota;
206 | }
207 |
208 | /**
209 | * Sets the value of the userQuota property.
210 | *
211 | * @param value
212 | * allowed object is {@link BigInteger }
213 | *
214 | */
215 | public void setUserQuota(BigInteger value) {
216 | this.userQuota = value;
217 | }
218 |
219 | /**
220 | * Gets the value of the storageQuota property.
221 | *
222 | * @return possible object is {@link BigInteger }
223 | *
224 | */
225 | public BigInteger getStorageQuota() {
226 | return storageQuota;
227 | }
228 |
229 | /**
230 | * Sets the value of the storageQuota property.
231 | *
232 | * @param value
233 | * allowed object is {@link BigInteger }
234 | *
235 | */
236 | public void setStorageQuota(BigInteger value) {
237 | this.storageQuota = value;
238 | }
239 |
240 | /**
241 | * Gets the value of the disableSubscriptions property.
242 | *
243 | * @return possible object is {@link Boolean }
244 | *
245 | */
246 | public Boolean isDisableSubscriptions() {
247 | return disableSubscriptions;
248 | }
249 |
250 | /**
251 | * Sets the value of the disableSubscriptions property.
252 | *
253 | * @param value
254 | * allowed object is {@link Boolean }
255 | *
256 | */
257 | public void setDisableSubscriptions(Boolean value) {
258 | this.disableSubscriptions = value;
259 | }
260 |
261 | /**
262 | * Gets the value of the state property.
263 | *
264 | * @return possible object is {@link String }
265 | *
266 | */
267 | public String getState() {
268 | return state;
269 | }
270 |
271 | /**
272 | * Sets the value of the state property.
273 | *
274 | * @param value
275 | * allowed object is {@link String }
276 | *
277 | */
278 | public void setState(String value) {
279 | this.state = value;
280 | }
281 |
282 | /**
283 | *
291 | * <complexType>
292 | * <complexContent>
293 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
294 | * <attribute name="numUsers" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
295 | * <attribute name="storage" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
296 | * </restriction>
297 | * </complexContent>
298 | * </complexType>
299 | *
300 | *
301 | *
302 | */
303 | @XmlAccessorType(XmlAccessType.FIELD)
304 | @XmlType(name = "")
305 | public static class Usage {
306 |
307 | @XmlAttribute(name = "numUsers", required = true)
308 | @XmlSchemaType(name = "nonNegativeInteger")
309 | protected BigInteger numUsers;
310 | @XmlAttribute(name = "storage", required = true)
311 | @XmlSchemaType(name = "nonNegativeInteger")
312 | protected BigInteger storage;
313 |
314 | /**
315 | * Gets the value of the numUsers property.
316 | *
317 | * @return possible object is {@link BigInteger }
318 | *
319 | */
320 | public BigInteger getNumUsers() {
321 | return numUsers;
322 | }
323 |
324 | /**
325 | * Sets the value of the numUsers property.
326 | *
327 | * @param value
328 | * allowed object is {@link BigInteger }
329 | *
330 | */
331 | public void setNumUsers(BigInteger value) {
332 | this.numUsers = value;
333 | }
334 |
335 | /**
336 | * Gets the value of the storage property.
337 | *
338 | * @return possible object is {@link BigInteger }
339 | *
340 | */
341 | public BigInteger getStorage() {
342 | return storage;
343 | }
344 |
345 | /**
346 | * Sets the value of the storage property.
347 | *
348 | * @param value
349 | * allowed object is {@link BigInteger }
350 | *
351 | */
352 | public void setStorage(BigInteger value) {
353 | this.storage = value;
354 | }
355 |
356 | }
357 |
358 | }
359 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/TableauCredentialsType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import javax.xml.bind.annotation.XmlAccessType;
11 | import javax.xml.bind.annotation.XmlAccessorType;
12 | import javax.xml.bind.annotation.XmlAttribute;
13 | import javax.xml.bind.annotation.XmlElement;
14 | import javax.xml.bind.annotation.XmlType;
15 |
16 | /**
17 | *
25 | * <complexType name="tableauCredentialsType">
26 | * <complexContent>
27 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 | * <sequence>
29 | * <element name="site" type="{http://tableau.com/api}siteType"/>
30 | * <element name="user" type="{http://tableau.com/api}userType" minOccurs="0"/>
31 | * </sequence>
32 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
33 | * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
34 | * <attribute name="token" type="{http://www.w3.org/2001/XMLSchema}string" />
35 | * </restriction>
36 | * </complexContent>
37 | * </complexType>
38 | *
39 | *
40 | *
41 | */
42 | @XmlAccessorType(XmlAccessType.FIELD)
43 | @XmlType(name = "tableauCredentialsType", propOrder = { "site", "user" })
44 | public class TableauCredentialsType {
45 |
46 | @XmlElement(required = true)
47 | protected SiteType site;
48 | protected UserType user;
49 | @XmlAttribute(name = "name")
50 | protected String name;
51 | @XmlAttribute(name = "password")
52 | protected String password;
53 | @XmlAttribute(name = "token")
54 | protected String token;
55 |
56 | /**
57 | * Gets the value of the site property.
58 | *
59 | * @return possible object is {@link SiteType }
60 | *
61 | */
62 | public SiteType getSite() {
63 | return site;
64 | }
65 |
66 | /**
67 | * Sets the value of the site property.
68 | *
69 | * @param value
70 | * allowed object is {@link SiteType }
71 | *
72 | */
73 | public void setSite(SiteType value) {
74 | this.site = value;
75 | }
76 |
77 | /**
78 | * Gets the value of the user property.
79 | *
80 | * @return possible object is {@link UserType }
81 | *
82 | */
83 | public UserType getUser() {
84 | return user;
85 | }
86 |
87 | /**
88 | * Sets the value of the user property.
89 | *
90 | * @param value
91 | * allowed object is {@link UserType }
92 | *
93 | */
94 | public void setUser(UserType value) {
95 | this.user = value;
96 | }
97 |
98 | /**
99 | * Gets the value of the name property.
100 | *
101 | * @return possible object is {@link String }
102 | *
103 | */
104 | public String getName() {
105 | return name;
106 | }
107 |
108 | /**
109 | * Sets the value of the name property.
110 | *
111 | * @param value
112 | * allowed object is {@link String }
113 | *
114 | */
115 | public void setName(String value) {
116 | this.name = value;
117 | }
118 |
119 | /**
120 | * Gets the value of the password property.
121 | *
122 | * @return possible object is {@link String }
123 | *
124 | */
125 | public String getPassword() {
126 | return password;
127 | }
128 |
129 | /**
130 | * Sets the value of the password property.
131 | *
132 | * @param value
133 | * allowed object is {@link String }
134 | *
135 | */
136 | public void setPassword(String value) {
137 | this.password = value;
138 | }
139 |
140 | /**
141 | * Gets the value of the token property.
142 | *
143 | * @return possible object is {@link String }
144 | *
145 | */
146 | public String getToken() {
147 | return token;
148 | }
149 |
150 | /**
151 | * Sets the value of the token property.
152 | *
153 | * @param value
154 | * allowed object is {@link String }
155 | *
156 | */
157 | public void setToken(String value) {
158 | this.token = value;
159 | }
160 |
161 | }
162 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/TagListType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.util.ArrayList;
11 | import java.util.List;
12 |
13 | import javax.xml.bind.annotation.XmlAccessType;
14 | import javax.xml.bind.annotation.XmlAccessorType;
15 | import javax.xml.bind.annotation.XmlType;
16 |
17 | /**
18 | *
26 | * <complexType name="tagListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="tag" type="{http://tableau.com/api}tagType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "tagListType", propOrder = { "tag" })
41 | public class TagListType {
42 |
43 | protected Listset
method for the tag property.
53 | *
54 | *
58 | * getTag().add(newItem);
59 | *
60 | *
61 | *
62 | *
24 | * <complexType name="tagType">
25 | * <complexContent>
26 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27 | * <attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
28 | * </restriction>
29 | * </complexContent>
30 | * </complexType>
31 | *
32 | *
33 | *
34 | */
35 | @XmlAccessorType(XmlAccessType.FIELD)
36 | @XmlType(name = "tagType")
37 | public class TagType {
38 |
39 | @XmlAttribute(name = "label", required = true)
40 | protected String label;
41 |
42 | /**
43 | * Gets the value of the label property.
44 | *
45 | * @return possible object is {@link String }
46 | *
47 | */
48 | public String getLabel() {
49 | return label;
50 | }
51 |
52 | /**
53 | * Sets the value of the label property.
54 | *
55 | * @param value
56 | * allowed object is {@link String }
57 | *
58 | */
59 | public void setLabel(String value) {
60 | this.label = value;
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/TsRequest.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import javax.xml.bind.annotation.XmlAccessType;
11 | import javax.xml.bind.annotation.XmlAccessorType;
12 | import javax.xml.bind.annotation.XmlRootElement;
13 | import javax.xml.bind.annotation.XmlType;
14 |
15 | /**
16 | *
24 | * <complexType>
25 | * <complexContent>
26 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27 | * <choice>
28 | * <element name="connection" type="{http://tableau.com/api}connectionType"/>
29 | * <element name="credentials" type="{http://tableau.com/api}tableauCredentialsType"/>
30 | * <element name="datasource" type="{http://tableau.com/api}dataSourceType"/>
31 | * <element name="favorite" type="{http://tableau.com/api}favoriteType"/>
32 | * <element name="group" type="{http://tableau.com/api}groupType"/>
33 | * <element name="permissions" type="{http://tableau.com/api}permissionsType"/>
34 | * <element name="project" type="{http://tableau.com/api}projectType"/>
35 | * <element name="site" type="{http://tableau.com/api}siteType"/>
36 | * <element name="tags" type="{http://tableau.com/api}tagListType"/>
37 | * <element name="user" type="{http://tableau.com/api}userType"/>
38 | * <element name="workbook" type="{http://tableau.com/api}workbookType"/>
39 | * </choice>
40 | * </restriction>
41 | * </complexContent>
42 | * </complexType>
43 | *
44 | *
45 | *
46 | */
47 | @XmlAccessorType(XmlAccessType.FIELD)
48 | @XmlType(name = "", propOrder = { "credentials", "group", "permissions", "workbook" })
49 | @XmlRootElement(name = "tsRequest")
50 | public class TsRequest {
51 |
52 | protected TableauCredentialsType credentials;
53 | protected GroupType group;
54 | protected PermissionsType permissions;
55 | protected WorkbookType workbook;
56 |
57 | /**
58 | * Gets the value of the credentials property.
59 | *
60 | * @return possible object is {@link TableauCredentialsType }
61 | *
62 | */
63 | public TableauCredentialsType getCredentials() {
64 | return credentials;
65 | }
66 |
67 | /**
68 | * Sets the value of the credentials property.
69 | *
70 | * @param value
71 | * allowed object is {@link TableauCredentialsType }
72 | *
73 | */
74 | public void setCredentials(TableauCredentialsType value) {
75 | this.credentials = value;
76 | }
77 |
78 | /**
79 | * Gets the value of the group property.
80 | *
81 | * @return possible object is {@link GroupType }
82 | *
83 | */
84 | public GroupType getGroup() {
85 | return group;
86 | }
87 |
88 | /**
89 | * Sets the value of the group property.
90 | *
91 | * @param value
92 | * allowed object is {@link GroupType }
93 | *
94 | */
95 | public void setGroup(GroupType value) {
96 | this.group = value;
97 | }
98 |
99 | /**
100 | * Gets the value of the permissions property.
101 | *
102 | * @return possible object is {@link PermissionsType }
103 | *
104 | */
105 | public PermissionsType getPermissions() {
106 | return permissions;
107 | }
108 |
109 | /**
110 | * Sets the value of the permissions property.
111 | *
112 | * @param value
113 | * allowed object is {@link PermissionsType }
114 | *
115 | */
116 | public void setPermissions(PermissionsType value) {
117 | this.permissions = value;
118 | }
119 |
120 | /**
121 | * Gets the value of the workbook property.
122 | *
123 | * @return possible object is {@link WorkbookType }
124 | *
125 | */
126 | public WorkbookType getWorkbook() {
127 | return workbook;
128 | }
129 |
130 | /**
131 | * Sets the value of the workbook property.
132 | *
133 | * @param value
134 | * allowed object is {@link WorkbookType }
135 | *
136 | */
137 | public void setWorkbook(WorkbookType value) {
138 | this.workbook = value;
139 | }
140 |
141 | }
142 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/TsResponse.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 |
9 | package com.tableausoftware.documentation.api.rest.bindings;
10 |
11 | import javax.xml.bind.annotation.XmlAccessType;
12 | import javax.xml.bind.annotation.XmlAccessorType;
13 | import javax.xml.bind.annotation.XmlRootElement;
14 | import javax.xml.bind.annotation.XmlType;
15 |
16 |
17 | /**
18 | *
23 | * <complexType>
24 | * <complexContent>
25 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 | * <choice>
27 | * <group ref="{http://tableau.com/api}paginatedResponseGroup"/>
28 | * <element name="connection" type="{http://tableau.com/api}connectionType"/>
29 | * <element name="connections" type="{http://tableau.com/api}connectionListType"/>
30 | * <element name="credentials" type="{http://tableau.com/api}tableauCredentialsType"/>
31 | * <element name="datasource" type="{http://tableau.com/api}dataSourceType"/>
32 | * <element name="error" type="{http://tableau.com/api}errorType"/>
33 | * <element name="favorites" type="{http://tableau.com/api}favoriteListType"/>
34 | * <element name="fileUpload" type="{http://tableau.com/api}fileUploadType"/>
35 | * <element name="group" type="{http://tableau.com/api}groupType"/>
36 | * <element name="job" type="{http://tableau.com/api}jobType"/>
37 | * <element name="permissions" type="{http://tableau.com/api}permissionsType"/>
38 | * <element name="project" type="{http://tableau.com/api}projectType"/>
39 | * <element name="site" type="{http://tableau.com/api}siteType"/>
40 | * <element name="tags" type="{http://tableau.com/api}tagListType"/>
41 | * <element name="user" type="{http://tableau.com/api}userType"/>
42 | * <element name="views" type="{http://tableau.com/api}viewListType"/>
43 | * <element name="workbook" type="{http://tableau.com/api}workbookType"/>
44 | * </choice>
45 | * </restriction>
46 | * </complexContent>
47 | * </complexType>
48 | *
49 | *
50 | *
51 | */
52 | @XmlAccessorType(XmlAccessType.FIELD)
53 | @XmlType(name = "", propOrder = {
54 | "pagination",
55 | "groups",
56 | "projects",
57 | "sites",
58 | "workbooks",
59 | "credentials",
60 | "error",
61 | "fileUpload",
62 | "group",
63 | "permissions",
64 | "workbook"
65 | })
66 | @XmlRootElement(name = "tsResponse")
67 | public class TsResponse {
68 |
69 | protected PaginationType pagination;
70 | protected GroupListType groups;
71 | protected ProjectListType projects;
72 | protected SiteListType sites;
73 | protected WorkbookListType workbooks;
74 | protected TableauCredentialsType credentials;
75 | protected ErrorType error;
76 | protected FileUploadType fileUpload;
77 | protected GroupType group;
78 | protected PermissionsType permissions;
79 | protected WorkbookType workbook;
80 |
81 | /**
82 | * Gets the value of the pagination property.
83 | *
84 | * @return
85 | * possible object is
86 | * {@link PaginationType }
87 | *
88 | */
89 | public PaginationType getPagination() {
90 | return pagination;
91 | }
92 |
93 | /**
94 | * Sets the value of the pagination property.
95 | *
96 | * @param value
97 | * allowed object is
98 | * {@link PaginationType }
99 | *
100 | */
101 | public void setPagination(PaginationType value) {
102 | this.pagination = value;
103 | }
104 |
105 | /**
106 | * Gets the value of the groups property.
107 | *
108 | * @return
109 | * possible object is
110 | * {@link GroupListType }
111 | *
112 | */
113 | public GroupListType getGroups() {
114 | return groups;
115 | }
116 |
117 | /**
118 | * Sets the value of the groups property.
119 | *
120 | * @param value
121 | * allowed object is
122 | * {@link GroupListType }
123 | *
124 | */
125 | public void setGroups(GroupListType value) {
126 | this.groups = value;
127 | }
128 |
129 | /**
130 | * Gets the value of the projects property.
131 | *
132 | * @return
133 | * possible object is
134 | * {@link ProjectListType }
135 | *
136 | */
137 | public ProjectListType getProjects() {
138 | return projects;
139 | }
140 |
141 | /**
142 | * Sets the value of the projects property.
143 | *
144 | * @param value
145 | * allowed object is
146 | * {@link ProjectListType }
147 | *
148 | */
149 | public void setProjects(ProjectListType value) {
150 | this.projects = value;
151 | }
152 |
153 | /**
154 | * Gets the value of the sites property.
155 | *
156 | * @return
157 | * possible object is
158 | * {@link SiteListType }
159 | *
160 | */
161 | public SiteListType getSites() {
162 | return sites;
163 | }
164 |
165 | /**
166 | * Sets the value of the sites property.
167 | *
168 | * @param value
169 | * allowed object is
170 | * {@link SiteListType }
171 | *
172 | */
173 | public void setSites(SiteListType value) {
174 | this.sites = value;
175 | }
176 |
177 | /**
178 | * Gets the value of the workbooks property.
179 | *
180 | * @return
181 | * possible object is
182 | * {@link WorkbookListType }
183 | *
184 | */
185 | public WorkbookListType getWorkbooks() {
186 | return workbooks;
187 | }
188 |
189 | /**
190 | * Sets the value of the workbooks property.
191 | *
192 | * @param value
193 | * allowed object is
194 | * {@link WorkbookListType }
195 | *
196 | */
197 | public void setWorkbooks(WorkbookListType value) {
198 | this.workbooks = value;
199 | }
200 |
201 | /**
202 | * Gets the value of the credentials property.
203 | *
204 | * @return
205 | * possible object is
206 | * {@link TableauCredentialsType }
207 | *
208 | */
209 | public TableauCredentialsType getCredentials() {
210 | return credentials;
211 | }
212 |
213 | /**
214 | * Sets the value of the credentials property.
215 | *
216 | * @param value
217 | * allowed object is
218 | * {@link TableauCredentialsType }
219 | *
220 | */
221 | public void setCredentials(TableauCredentialsType value) {
222 | this.credentials = value;
223 | }
224 |
225 | /**
226 | * Gets the value of the error property.
227 | *
228 | * @return
229 | * possible object is
230 | * {@link ErrorType }
231 | *
232 | */
233 | public ErrorType getError() {
234 | return error;
235 | }
236 |
237 | /**
238 | * Sets the value of the error property.
239 | *
240 | * @param value
241 | * allowed object is
242 | * {@link ErrorType }
243 | *
244 | */
245 | public void setError(ErrorType value) {
246 | this.error = value;
247 | }
248 |
249 | /**
250 | * Gets the value of the fileUpload property.
251 | *
252 | * @return
253 | * possible object is
254 | * {@link FileUploadType }
255 | *
256 | */
257 | public FileUploadType getFileUpload() {
258 | return fileUpload;
259 | }
260 |
261 | /**
262 | * Sets the value of the fileUpload property.
263 | *
264 | * @param value
265 | * allowed object is
266 | * {@link FileUploadType }
267 | *
268 | */
269 | public void setFileUpload(FileUploadType value) {
270 | this.fileUpload = value;
271 | }
272 |
273 | /**
274 | * Gets the value of the group property.
275 | *
276 | * @return
277 | * possible object is
278 | * {@link GroupType }
279 | *
280 | */
281 | public GroupType getGroup() {
282 | return group;
283 | }
284 |
285 | /**
286 | * Sets the value of the group property.
287 | *
288 | * @param value
289 | * allowed object is
290 | * {@link GroupType }
291 | *
292 | */
293 | public void setGroup(GroupType value) {
294 | this.group = value;
295 | }
296 |
297 | /**
298 | * Gets the value of the permissions property.
299 | *
300 | * @return
301 | * possible object is
302 | * {@link PermissionsType }
303 | *
304 | */
305 | public PermissionsType getPermissions() {
306 | return permissions;
307 | }
308 |
309 | /**
310 | * Sets the value of the permissions property.
311 | *
312 | * @param value
313 | * allowed object is
314 | * {@link PermissionsType }
315 | *
316 | */
317 | public void setPermissions(PermissionsType value) {
318 | this.permissions = value;
319 | }
320 |
321 | /**
322 | * Gets the value of the workbook property.
323 | *
324 | * @return
325 | * possible object is
326 | * {@link WorkbookType }
327 | *
328 | */
329 | public WorkbookType getWorkbook() {
330 | return workbook;
331 | }
332 |
333 | /**
334 | * Sets the value of the workbook property.
335 | *
336 | * @param value
337 | * allowed object is
338 | * {@link WorkbookType }
339 | *
340 | */
341 | public void setWorkbook(WorkbookType value) {
342 | this.workbook = value;
343 | }
344 |
345 | }
346 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/UserType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.09.21 at 01:55:40 PM PDT
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import javax.xml.bind.annotation.XmlAccessType;
11 | import javax.xml.bind.annotation.XmlAccessorType;
12 | import javax.xml.bind.annotation.XmlAttribute;
13 | import javax.xml.bind.annotation.XmlSchemaType;
14 | import javax.xml.bind.annotation.XmlType;
15 | import javax.xml.datatype.XMLGregorianCalendar;
16 |
17 | /**
18 | *
26 | * <complexType name="userType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <attribute name="id" type="{http://tableau.com/api}resourceIdType" />
30 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
31 | * <attribute name="fullName" type="{http://www.w3.org/2001/XMLSchema}string" />
32 | * <attribute name="email" type="{http://www.w3.org/2001/XMLSchema}string" />
33 | * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
34 | * <attribute name="siteRole" type="{http://tableau.com/api}siteRoleType" />
35 | * <attribute name="lastLogin" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
36 | * <attribute name="externalAuthUserId" type="{http://www.w3.org/2001/XMLSchema}string" />
37 | * </restriction>
38 | * </complexContent>
39 | * </complexType>
40 | *
41 | *
42 | *
43 | */
44 | @XmlAccessorType(XmlAccessType.FIELD)
45 | @XmlType(name = "userType")
46 | public class UserType {
47 |
48 | @XmlAttribute(name = "id")
49 | protected String id;
50 | @XmlAttribute(name = "name")
51 | protected String name;
52 | @XmlAttribute(name = "fullName")
53 | protected String fullName;
54 | @XmlAttribute(name = "email")
55 | protected String email;
56 | @XmlAttribute(name = "password")
57 | protected String password;
58 | @XmlAttribute(name = "siteRole")
59 | protected SiteRoleType siteRole;
60 | @XmlAttribute(name = "lastLogin")
61 | @XmlSchemaType(name = "dateTime")
62 | protected XMLGregorianCalendar lastLogin;
63 | @XmlAttribute(name = "externalAuthUserId")
64 | protected String externalAuthUserId;
65 |
66 | /**
67 | * Gets the value of the id property.
68 | *
69 | * @return possible object is {@link String }
70 | *
71 | */
72 | public String getId() {
73 | return id;
74 | }
75 |
76 | /**
77 | * Sets the value of the id property.
78 | *
79 | * @param value
80 | * allowed object is {@link String }
81 | *
82 | */
83 | public void setId(String value) {
84 | this.id = value;
85 | }
86 |
87 | /**
88 | * Gets the value of the name property.
89 | *
90 | * @return possible object is {@link String }
91 | *
92 | */
93 | public String getName() {
94 | return name;
95 | }
96 |
97 | /**
98 | * Sets the value of the name property.
99 | *
100 | * @param value
101 | * allowed object is {@link String }
102 | *
103 | */
104 | public void setName(String value) {
105 | this.name = value;
106 | }
107 |
108 | /**
109 | * Gets the value of the fullName property.
110 | *
111 | * @return possible object is {@link String }
112 | *
113 | */
114 | public String getFullName() {
115 | return fullName;
116 | }
117 |
118 | /**
119 | * Sets the value of the fullName property.
120 | *
121 | * @param value
122 | * allowed object is {@link String }
123 | *
124 | */
125 | public void setFullName(String value) {
126 | this.fullName = value;
127 | }
128 |
129 | /**
130 | * Gets the value of the email property.
131 | *
132 | * @return possible object is {@link String }
133 | *
134 | */
135 | public String getEmail() {
136 | return email;
137 | }
138 |
139 | /**
140 | * Sets the value of the email property.
141 | *
142 | * @param value
143 | * allowed object is {@link String }
144 | *
145 | */
146 | public void setEmail(String value) {
147 | this.email = value;
148 | }
149 |
150 | /**
151 | * Gets the value of the password property.
152 | *
153 | * @return possible object is {@link String }
154 | *
155 | */
156 | public String getPassword() {
157 | return password;
158 | }
159 |
160 | /**
161 | * Sets the value of the password property.
162 | *
163 | * @param value
164 | * allowed object is {@link String }
165 | *
166 | */
167 | public void setPassword(String value) {
168 | this.password = value;
169 | }
170 |
171 | /**
172 | * Gets the value of the siteRole property.
173 | *
174 | * @return possible object is {@link SiteRoleType }
175 | *
176 | */
177 | public SiteRoleType getSiteRole() {
178 | return siteRole;
179 | }
180 |
181 | /**
182 | * Sets the value of the siteRole property.
183 | *
184 | * @param value
185 | * allowed object is {@link SiteRoleType }
186 | *
187 | */
188 | public void setSiteRole(SiteRoleType value) {
189 | this.siteRole = value;
190 | }
191 |
192 | /**
193 | * Gets the value of the lastLogin property.
194 | *
195 | * @return possible object is {@link XMLGregorianCalendar }
196 | *
197 | */
198 | public XMLGregorianCalendar getLastLogin() {
199 | return lastLogin;
200 | }
201 |
202 | /**
203 | * Sets the value of the lastLogin property.
204 | *
205 | * @param value
206 | * allowed object is {@link XMLGregorianCalendar }
207 | *
208 | */
209 | public void setLastLogin(XMLGregorianCalendar value) {
210 | this.lastLogin = value;
211 | }
212 |
213 | /**
214 | * Gets the value of the externalAuthUserId property.
215 | *
216 | * @return possible object is {@link String }
217 | *
218 | */
219 | public String getExternalAuthUserId() {
220 | return externalAuthUserId;
221 | }
222 |
223 | /**
224 | * Sets the value of the externalAuthUserId property.
225 | *
226 | * @param value
227 | * allowed object is {@link String }
228 | *
229 | */
230 | public void setExternalAuthUserId(String value) {
231 | this.externalAuthUserId = value;
232 | }
233 |
234 | }
235 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/ViewListType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.util.ArrayList;
11 | import java.util.List;
12 |
13 | import javax.xml.bind.annotation.XmlAccessType;
14 | import javax.xml.bind.annotation.XmlAccessorType;
15 | import javax.xml.bind.annotation.XmlType;
16 |
17 | /**
18 | *
26 | * <complexType name="viewListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="view" type="{http://tableausoftware.com/api}viewType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "viewListType", propOrder = { "view" })
41 | public class ViewListType {
42 |
43 | protected Listset
method for the view property.
53 | *
54 | *
58 | * getView().add(newItem);
59 | *
60 | *
61 | *
62 | *
27 | * <complexType name="viewType">
28 | * <complexContent>
29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 | * <sequence>
31 | * <element name="usage" minOccurs="0">
32 | * <complexType>
33 | * <complexContent>
34 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 | * <attribute name="totalViewCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
36 | * </restriction>
37 | * </complexContent>
38 | * </complexType>
39 | * </element>
40 | * </sequence>
41 | * <attribute name="id" type="{http://tableausoftware.com/api}resourceIdType" />
42 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
43 | * <attribute name="contentUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
44 | * </restriction>
45 | * </complexContent>
46 | * </complexType>
47 | *
48 | *
49 | *
50 | */
51 | @XmlAccessorType(XmlAccessType.FIELD)
52 | @XmlType(name = "viewType", propOrder = { "usage" })
53 | public class ViewType {
54 |
55 | protected ViewType.Usage usage;
56 | @XmlAttribute(name = "id")
57 | protected String id;
58 | @XmlAttribute(name = "name")
59 | protected String name;
60 | @XmlAttribute(name = "contentUrl")
61 | protected String contentUrl;
62 |
63 | /**
64 | * Gets the value of the usage property.
65 | *
66 | * @return possible object is {@link ViewType.Usage }
67 | *
68 | */
69 | public ViewType.Usage getUsage() {
70 | return usage;
71 | }
72 |
73 | /**
74 | * Sets the value of the usage property.
75 | *
76 | * @param value
77 | * allowed object is {@link ViewType.Usage }
78 | *
79 | */
80 | public void setUsage(ViewType.Usage value) {
81 | this.usage = value;
82 | }
83 |
84 | /**
85 | * Gets the value of the id property.
86 | *
87 | * @return possible object is {@link String }
88 | *
89 | */
90 | public String getId() {
91 | return id;
92 | }
93 |
94 | /**
95 | * Sets the value of the id property.
96 | *
97 | * @param value
98 | * allowed object is {@link String }
99 | *
100 | */
101 | public void setId(String value) {
102 | this.id = value;
103 | }
104 |
105 | /**
106 | * Gets the value of the name property.
107 | *
108 | * @return possible object is {@link String }
109 | *
110 | */
111 | public String getName() {
112 | return name;
113 | }
114 |
115 | /**
116 | * Sets the value of the name property.
117 | *
118 | * @param value
119 | * allowed object is {@link String }
120 | *
121 | */
122 | public void setName(String value) {
123 | this.name = value;
124 | }
125 |
126 | /**
127 | * Gets the value of the contentUrl property.
128 | *
129 | * @return possible object is {@link String }
130 | *
131 | */
132 | public String getContentUrl() {
133 | return contentUrl;
134 | }
135 |
136 | /**
137 | * Sets the value of the contentUrl property.
138 | *
139 | * @param value
140 | * allowed object is {@link String }
141 | *
142 | */
143 | public void setContentUrl(String value) {
144 | this.contentUrl = value;
145 | }
146 |
147 | /**
148 | *
156 | * <complexType>
157 | * <complexContent>
158 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
159 | * <attribute name="totalViewCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
160 | * </restriction>
161 | * </complexContent>
162 | * </complexType>
163 | *
164 | *
165 | *
166 | */
167 | @XmlAccessorType(XmlAccessType.FIELD)
168 | @XmlType(name = "")
169 | public static class Usage {
170 |
171 | @XmlAttribute(name = "totalViewCount", required = true)
172 | @XmlSchemaType(name = "nonNegativeInteger")
173 | protected BigInteger totalViewCount;
174 |
175 | /**
176 | * Gets the value of the totalViewCount property.
177 | *
178 | * @return possible object is {@link BigInteger }
179 | *
180 | */
181 | public BigInteger getTotalViewCount() {
182 | return totalViewCount;
183 | }
184 |
185 | /**
186 | * Sets the value of the totalViewCount property.
187 | *
188 | * @param value
189 | * allowed object is {@link BigInteger }
190 | *
191 | */
192 | public void setTotalViewCount(BigInteger value) {
193 | this.totalViewCount = value;
194 | }
195 |
196 | }
197 |
198 | }
199 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/WorkbookListType.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.01.30 at 12:49:43 PM PST
6 | //
7 |
8 | package com.tableausoftware.documentation.api.rest.bindings;
9 |
10 | import java.util.ArrayList;
11 | import java.util.List;
12 |
13 | import javax.xml.bind.annotation.XmlAccessType;
14 | import javax.xml.bind.annotation.XmlAccessorType;
15 | import javax.xml.bind.annotation.XmlType;
16 |
17 | /**
18 | *
26 | * <complexType name="workbookListType">
27 | * <complexContent>
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 | * <sequence>
30 | * <element name="workbook" type="{http://tableausoftware.com/api}workbookType" maxOccurs="unbounded" minOccurs="0"/>
31 | * </sequence>
32 | * </restriction>
33 | * </complexContent>
34 | * </complexType>
35 | *
36 | *
37 | *
38 | */
39 | @XmlAccessorType(XmlAccessType.FIELD)
40 | @XmlType(name = "workbookListType", propOrder = { "workbook" })
41 | public class WorkbookListType {
42 |
43 | protected Listset
method for the workbook property.
53 | *
54 | *
58 | * getWorkbook().add(newItem);
59 | *
60 | *
61 | *
62 | *
21 | * <complexType name="workbookType">
22 | * <complexContent>
23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 | * <sequence>
25 | * <element name="connectionCredentials" type="{http://tableau.com/api}connectionCredentialsType" minOccurs="0"/>
26 | * <element name="site" type="{http://tableau.com/api}siteType" minOccurs="0"/>
27 | * <element name="project" type="{http://tableau.com/api}projectType" minOccurs="0"/>
28 | * <element name="owner" type="{http://tableau.com/api}userType" minOccurs="0"/>
29 | * <element name="tags" type="{http://tableau.com/api}tagListType" minOccurs="0"/>
30 | * <element name="views" type="{http://tableau.com/api}viewListType" minOccurs="0"/>
31 | * </sequence>
32 | * <attribute name="id" type="{http://tableau.com/api}resourceIdType" />
33 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
34 | * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
35 | * <attribute name="contentUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
36 | * <attribute name="showTabs" type="{http://www.w3.org/2001/XMLSchema}boolean" />
37 | * </restriction>
38 | * </complexContent>
39 | * </complexType>
40 | *
41 | *
42 | *
43 | */
44 | @XmlAccessorType(XmlAccessType.FIELD)
45 | @XmlType(name = "workbookType", propOrder = {
46 | "site",
47 | "project",
48 | "owner",
49 | "tags",
50 | "views"
51 | })
52 | public class WorkbookType {
53 |
54 | protected SiteType site;
55 | protected ProjectType project;
56 | protected UserType owner;
57 | protected TagListType tags;
58 | protected ViewListType views;
59 | @XmlAttribute(name = "id")
60 | protected String id;
61 | @XmlAttribute(name = "name")
62 | protected String name;
63 | @XmlAttribute(name = "description")
64 | protected String description;
65 | @XmlAttribute(name = "contentUrl")
66 | protected String contentUrl;
67 | @XmlAttribute(name = "showTabs")
68 | protected Boolean showTabs;
69 |
70 | /**
71 | * Gets the value of the site property.
72 | *
73 | * @return
74 | * possible object is
75 | * {@link SiteType }
76 | *
77 | */
78 | public SiteType getSite() {
79 | return site;
80 | }
81 |
82 | /**
83 | * Sets the value of the site property.
84 | *
85 | * @param value
86 | * allowed object is
87 | * {@link SiteType }
88 | *
89 | */
90 | public void setSite(SiteType value) {
91 | this.site = value;
92 | }
93 |
94 | /**
95 | * Gets the value of the project property.
96 | *
97 | * @return
98 | * possible object is
99 | * {@link ProjectType }
100 | *
101 | */
102 | public ProjectType getProject() {
103 | return project;
104 | }
105 |
106 | /**
107 | * Sets the value of the project property.
108 | *
109 | * @param value
110 | * allowed object is
111 | * {@link ProjectType }
112 | *
113 | */
114 | public void setProject(ProjectType value) {
115 | this.project = value;
116 | }
117 |
118 | /**
119 | * Gets the value of the owner property.
120 | *
121 | * @return
122 | * possible object is
123 | * {@link UserType }
124 | *
125 | */
126 | public UserType getOwner() {
127 | return owner;
128 | }
129 |
130 | /**
131 | * Sets the value of the owner property.
132 | *
133 | * @param value
134 | * allowed object is
135 | * {@link UserType }
136 | *
137 | */
138 | public void setOwner(UserType value) {
139 | this.owner = value;
140 | }
141 |
142 | /**
143 | * Gets the value of the tags property.
144 | *
145 | * @return
146 | * possible object is
147 | * {@link TagListType }
148 | *
149 | */
150 | public TagListType getTags() {
151 | return tags;
152 | }
153 |
154 | /**
155 | * Sets the value of the tags property.
156 | *
157 | * @param value
158 | * allowed object is
159 | * {@link TagListType }
160 | *
161 | */
162 | public void setTags(TagListType value) {
163 | this.tags = value;
164 | }
165 |
166 | /**
167 | * Gets the value of the views property.
168 | *
169 | * @return
170 | * possible object is
171 | * {@link ViewListType }
172 | *
173 | */
174 | public ViewListType getViews() {
175 | return views;
176 | }
177 |
178 | /**
179 | * Sets the value of the views property.
180 | *
181 | * @param value
182 | * allowed object is
183 | * {@link ViewListType }
184 | *
185 | */
186 | public void setViews(ViewListType value) {
187 | this.views = value;
188 | }
189 |
190 | /**
191 | * Gets the value of the id property.
192 | *
193 | * @return
194 | * possible object is
195 | * {@link String }
196 | *
197 | */
198 | public String getId() {
199 | return id;
200 | }
201 |
202 | /**
203 | * Sets the value of the id property.
204 | *
205 | * @param value
206 | * allowed object is
207 | * {@link String }
208 | *
209 | */
210 | public void setId(String value) {
211 | this.id = value;
212 | }
213 |
214 | /**
215 | * Gets the value of the name property.
216 | *
217 | * @return
218 | * possible object is
219 | * {@link String }
220 | *
221 | */
222 | public String getName() {
223 | return name;
224 | }
225 |
226 | /**
227 | * Sets the value of the name property.
228 | *
229 | * @param value
230 | * allowed object is
231 | * {@link String }
232 | *
233 | */
234 | public void setName(String value) {
235 | this.name = value;
236 | }
237 |
238 | /**
239 | * Gets the value of the description property.
240 | *
241 | * @return
242 | * possible object is
243 | * {@link String }
244 | *
245 | */
246 | public String getDescription() {
247 | return description;
248 | }
249 |
250 | /**
251 | * Sets the value of the description property.
252 | *
253 | * @param value
254 | * allowed object is
255 | * {@link String }
256 | *
257 | */
258 | public void setDescription(String value) {
259 | this.description = value;
260 | }
261 |
262 | /**
263 | * Gets the value of the contentUrl property.
264 | *
265 | * @return
266 | * possible object is
267 | * {@link String }
268 | *
269 | */
270 | public String getContentUrl() {
271 | return contentUrl;
272 | }
273 |
274 | /**
275 | * Sets the value of the contentUrl property.
276 | *
277 | * @param value
278 | * allowed object is
279 | * {@link String }
280 | *
281 | */
282 | public void setContentUrl(String value) {
283 | this.contentUrl = value;
284 | }
285 |
286 | /**
287 | * Gets the value of the showTabs property.
288 | *
289 | * @return
290 | * possible object is
291 | * {@link Boolean }
292 | *
293 | */
294 | public Boolean isShowTabs() {
295 | return showTabs;
296 | }
297 |
298 | /**
299 | * Sets the value of the showTabs property.
300 | *
301 | * @param value
302 | * allowed object is
303 | * {@link Boolean }
304 | *
305 | */
306 | public void setShowTabs(Boolean value) {
307 | this.showTabs = value;
308 | }
309 |
310 | }
311 |
--------------------------------------------------------------------------------
/java/src/com/tableausoftware/documentation/api/rest/bindings/package-info.java:
--------------------------------------------------------------------------------
1 | //
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 | // See http://java.sun.com/xml/jaxb
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
5 | // Generated on: 2015.09.21 at 01:55:40 PM PDT
6 | //
7 |
8 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://tableau.com/api", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
9 | package com.tableausoftware.documentation.api.rest.bindings;
10 |
--------------------------------------------------------------------------------
/postman/Postman-Environment-Tableau-Webhooks.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "cd970550-7659-4f6d-bec5-d593544d532f",
3 | "name": "Tableau Webhooks",
4 | "values": [
5 | {
6 | "key": "server",
7 | "value": "",
8 | "enabled": true
9 | },
10 | {
11 | "key": "content-url",
12 | "value": "",
13 | "enabled": true
14 | },
15 | {
16 | "key": "username",
17 | "value": "",
18 | "enabled": true
19 | },
20 | {
21 | "key": "password",
22 | "value": "",
23 | "enabled": true
24 | },
25 | {
26 | "key": "pat-name",
27 | "value": "",
28 | "enabled": true
29 | },
30 | {
31 | "key": "pat-secret",
32 | "value": "",
33 | "enabled": true
34 | },
35 | {
36 | "key": "site-id",
37 | "value": "",
38 | "enabled": true
39 | },
40 | {
41 | "key": "tableau-auth-token",
42 | "value": "",
43 | "enabled": true
44 | },
45 | {
46 | "key": "webhook-id",
47 | "value": "",
48 | "enabled": true
49 | },
50 | {
51 | "key": "webhook-name",
52 | "value": "",
53 | "enabled": true
54 | },
55 | {
56 | "key": "webhook-event",
57 | "value": "",
58 | "enabled": true
59 | },
60 | {
61 | "key": "webhook-url",
62 | "value": "",
63 | "enabled": true
64 | },
65 | {
66 | "key": "webhook-isenabled",
67 | "value": "",
68 | "enabled": true
69 | },
70 | {
71 | "key": "webhook-statuschangereason",
72 | "value": "",
73 | "enabled": true
74 | }
75 | ],
76 | "_postman_variable_scope": "environment",
77 | "_postman_exported_at": "2020-10-28T23:05:27.345Z",
78 | "_postman_exported_using": "Postman/7.32.0"
79 | }
--------------------------------------------------------------------------------
/postman/README.md:
--------------------------------------------------------------------------------
1 | # Tableau Webhooks Assets
2 |
3 | This repo contains Postman collection content for accessing Webhooks methods in the Tableau REST API.
4 |
5 | > NOTE: See **[tableau-postman](https://github.com/tableau/tableau-postman/blob/main/README.md)** for a comprehensive Postman collection for the entire Tableau REST API.
6 |
7 | To learn more about the Webhooks feature, see the Tableau Webhooks documentation:
8 |
9 | - [Developer guide](https://help.tableau.com/current/developer/webhooks/en-us/)
10 |
11 | - [REST API Endpoints for Webhooks](https://help.tableau.com/v2020.4/api/rest_api/en-us/REST/rest_api_ref_webhooks.htm)
12 |
13 | To use the Postman collection, you will need to begin with some initial setup
14 |
15 | 1. A Tableau site that you have administrator access to
16 | 2. The id of that site - you can use the [REST API](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_get_started_tutorial_part_1.htm) or the [Tableau Server Client](https://tableau.github.io/server-client-python/) to fetch this
17 | 3. A PAT for the site to log in
18 | 4. A webhook destination - this must be a https URL. If you don't have any server where you can read the request as it arrives, there are many public apps that will work, including
19 | - https://webhook.site
20 | - a project on Glitch (see [existing examples(https://glitch.com/@tableau/webhooks)]
21 | - https://postman-echo.com
22 | - https://requestbin.com/
23 | 5. Choose an [event](https://help.tableau.com/current/developer/webhooks/en-us/docs/webhooks-events-payload.html#trigger-events) that will trigger your webhook
24 | 6. And finally, a fun name for your new webhook!
25 |
--------------------------------------------------------------------------------
/python/README.md:
--------------------------------------------------------------------------------
1 |
2 | Requirements
3 | ---------------
4 | * Python 2.7 or 3.x
5 | * Python 'requests' library (http://docs.python-requests.org/en/latest/)
6 |
7 | Running the samples
8 | ---------------
9 | * All samples can be run using the command prompt or terminal
10 | * All samples require 2 arguments: server adress (without a trailing slash) and username
11 | * Run by executing ```python sample_file_name.py
[move_workbook_sites.py](./move_workbook_sites.py)
[move_workbook_server.py](./move_workbook_server.py) | Shows how to move a workbook from one project/site/server to another. Moving across different sites and servers require downloading the workbook. Two methods of downloading are demonstrated in the sites and server samples.
Moving to another project uses an API call to update workbook.
Moving to another site uses in-memory download method.
Moving to another server uses a temporary file to download workbook.
24 | Add Permissions | [user_permission_audit.py](./user_permission_audit.py) | Shows how to add permissions for a given user to a given workbook.
25 | Global Workbook Permissions | [update_permission.py](./update_permission.py) | Shows how to add or update user permissions for every workbook on a given site or project.
26 |
--------------------------------------------------------------------------------
/python/move_workbook_projects.py:
--------------------------------------------------------------------------------
1 | ####
2 | # This script contains functions that demonstrate how to move
3 | # a workbook from one project to another.
4 | #
5 | # To run the script, you must have installed Python 2.7.9 or later,
6 | # plus the 'requests' library:
7 | # http://docs.python-requests.org/en/latest/
8 | #
9 | # The script takes in the server address and username as arguments,
10 | # where the server address has no trailing slash (e.g. http://localhost).
11 | # Run the script in terminal by entering:
12 | # python move_workbook_projects.py