001package com.box.sdkgen.managers.integrationmappings; 002 003import com.box.sdkgen.serialization.json.EnumWrapper; 004 005public class GetTeamsIntegrationMappingQueryParams { 006 007 /** Mapped item type, for which the mapping should be returned. */ 008 public EnumWrapper<GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField> partnerItemType; 009 010 /** ID of the mapped item, for which the mapping should be returned. */ 011 public String partnerItemId; 012 013 /** Box item ID, for which the mappings should be returned. */ 014 public String boxItemId; 015 016 /** Box item type, for which the mappings should be returned. */ 017 public EnumWrapper<GetTeamsIntegrationMappingQueryParamsBoxItemTypeField> boxItemType; 018 019 public GetTeamsIntegrationMappingQueryParams() {} 020 021 protected GetTeamsIntegrationMappingQueryParams(Builder builder) { 022 this.partnerItemType = builder.partnerItemType; 023 this.partnerItemId = builder.partnerItemId; 024 this.boxItemId = builder.boxItemId; 025 this.boxItemType = builder.boxItemType; 026 } 027 028 public EnumWrapper<GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField> 029 getPartnerItemType() { 030 return partnerItemType; 031 } 032 033 public String getPartnerItemId() { 034 return partnerItemId; 035 } 036 037 public String getBoxItemId() { 038 return boxItemId; 039 } 040 041 public EnumWrapper<GetTeamsIntegrationMappingQueryParamsBoxItemTypeField> getBoxItemType() { 042 return boxItemType; 043 } 044 045 public static class Builder { 046 047 protected EnumWrapper<GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField> 048 partnerItemType; 049 050 protected String partnerItemId; 051 052 protected String boxItemId; 053 054 protected EnumWrapper<GetTeamsIntegrationMappingQueryParamsBoxItemTypeField> boxItemType; 055 056 public Builder partnerItemType( 057 GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField partnerItemType) { 058 this.partnerItemType = 059 new EnumWrapper<GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField>( 060 partnerItemType); 061 return this; 062 } 063 064 public Builder partnerItemType( 065 EnumWrapper<GetTeamsIntegrationMappingQueryParamsPartnerItemTypeField> partnerItemType) { 066 this.partnerItemType = partnerItemType; 067 return this; 068 } 069 070 public Builder partnerItemId(String partnerItemId) { 071 this.partnerItemId = partnerItemId; 072 return this; 073 } 074 075 public Builder boxItemId(String boxItemId) { 076 this.boxItemId = boxItemId; 077 return this; 078 } 079 080 public Builder boxItemType(GetTeamsIntegrationMappingQueryParamsBoxItemTypeField boxItemType) { 081 this.boxItemType = 082 new EnumWrapper<GetTeamsIntegrationMappingQueryParamsBoxItemTypeField>(boxItemType); 083 return this; 084 } 085 086 public Builder boxItemType( 087 EnumWrapper<GetTeamsIntegrationMappingQueryParamsBoxItemTypeField> boxItemType) { 088 this.boxItemType = boxItemType; 089 return this; 090 } 091 092 public GetTeamsIntegrationMappingQueryParams build() { 093 return new GetTeamsIntegrationMappingQueryParams(this); 094 } 095 } 096}