Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2018 Changes in this version + const RevisionDocs + const RevisionGenerator + var ClientVersion string = "DEV" + func ConvertToStringMap(raw map[string]interface{}) (map[string]string, error) + func GetUserAgent() string + func IsErrNotFound(err error) bool + func ParseYAMLToMap(unmarshal func(interface{}) error, keysToField map[string]interface{}) error + func ValidateIsBool(k string, v interface{}) (bool, error) + func ValidateIsInt(k string, v interface{}) (int, error) + func ValidateIsRawMap(k string, v interface{}) (map[string]interface{}, error) + func ValidateIsString(k string, v interface{}) (string, error) + type Account struct + Company string + CreatedAt *time.Time + ID string + Name string + UpdatedAt *time.Time + type AccountDetails struct + Slug string + type AffectedCount struct + RecordsAffected int64 + type AffectedResources struct + RecordsAffected int64 + type Authorization struct + CreatedAt *time.Time + ExpiresAt *time.Time + HashedToken string + ID string + Note string + Scopes []string + TokenLastEight string + UpdatedAt *time.Time + type AuthorizationParams struct + ExpiresAt **time.Time + Note *string + Scopes []string + func (params *AuthorizationParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type AuthorizationWithToken struct + Token string + type BitbucketSync struct + ID string + LastExportToBitbucketAt *time.Time + LastImportFromBitbucketAt *time.Time + PhraseappProjects []*ProjectShort + RepositoryName string + ValidPhraseappYaml bool + type BitbucketSyncExportResponse struct + StatusPath string + type BitbucketSyncParams struct + AccountID *string + func (params *BitbucketSyncParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type BlacklistedKey struct + CreatedAt *time.Time + ID string + Name string + UpdatedAt *time.Time + type BlacklistedKeyParams struct + Name *string + func (params *BlacklistedKeyParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Client struct + Credentials Credentials + func NewClient(credentials Credentials, debug bool) (*Client, error) + func (client *Client) AccountShow(id string) (*AccountDetails, error) + func (client *Client) AccountsList(page, perPage int) ([]*Account, error) + func (client *Client) AuthorizationCreate(params *AuthorizationParams) (*AuthorizationWithToken, error) + func (client *Client) AuthorizationDelete(id string) error + func (client *Client) AuthorizationShow(id string) (*Authorization, error) + func (client *Client) AuthorizationUpdate(id string, params *AuthorizationParams) (*Authorization, error) + func (client *Client) AuthorizationsList(page, perPage int) ([]*Authorization, error) + func (client *Client) BitbucketSyncExport(id string, params *BitbucketSyncParams) (*BitbucketSyncExportResponse, error) + func (client *Client) BitbucketSyncImport(id string, params *BitbucketSyncParams) error + func (client *Client) BitbucketSyncsList(page, perPage int, params *BitbucketSyncParams) ([]*BitbucketSync, error) + func (client *Client) BlacklistedKeyCreate(project_id string, params *BlacklistedKeyParams) (*BlacklistedKey, error) + func (client *Client) BlacklistedKeyDelete(project_id, id string) error + func (client *Client) BlacklistedKeyShow(project_id, id string) (*BlacklistedKey, error) + func (client *Client) BlacklistedKeyUpdate(project_id, id string, params *BlacklistedKeyParams) (*BlacklistedKey, error) + func (client *Client) BlacklistedKeysList(project_id string, page, perPage int) ([]*BlacklistedKey, error) + func (client *Client) CommentCreate(project_id, key_id string, params *CommentParams) (*Comment, error) + func (client *Client) CommentDelete(project_id, key_id, id string) error + func (client *Client) CommentMarkCheck(project_id, key_id, id string) error + func (client *Client) CommentMarkRead(project_id, key_id, id string) error + func (client *Client) CommentMarkUnread(project_id, key_id, id string) error + func (client *Client) CommentShow(project_id, key_id, id string) (*Comment, error) + func (client *Client) CommentUpdate(project_id, key_id, id string, params *CommentParams) (*Comment, error) + func (client *Client) CommentsList(project_id, key_id string, page, perPage int) ([]*Comment, error) + func (client *Client) FormatsList(page, perPage int) ([]*Format, error) + func (client *Client) GlossariesList(account_id string, page, perPage int) ([]*Glossary, error) + func (client *Client) GlossaryCreate(account_id string, params *GlossaryParams) (*Glossary, error) + func (client *Client) GlossaryDelete(account_id, id string) error + func (client *Client) GlossaryShow(account_id, id string) (*Glossary, error) + func (client *Client) GlossaryTermCreate(account_id, glossary_id string, params *GlossaryTermParams) (*GlossaryTerm, error) + func (client *Client) GlossaryTermDelete(account_id, glossary_id, id string) error + func (client *Client) GlossaryTermShow(account_id, glossary_id, id string) (*GlossaryTerm, error) + func (client *Client) GlossaryTermTranslationCreate(account_id, glossary_id, term_id string, params *GlossaryTermTranslationParams) (*GlossaryTermTranslation, error) + func (client *Client) GlossaryTermTranslationDelete(account_id, glossary_id, term_id, id string) error + func (client *Client) GlossaryTermTranslationUpdate(account_id, glossary_id, term_id, id string, ...) (*GlossaryTermTranslation, error) + func (client *Client) GlossaryTermUpdate(account_id, glossary_id, id string, params *GlossaryTermParams) (*GlossaryTerm, error) + func (client *Client) GlossaryTermsList(account_id, glossary_id string, page, perPage int) ([]*GlossaryTerm, error) + func (client *Client) GlossaryUpdate(account_id, id string, params *GlossaryParams) (*Glossary, error) + func (client *Client) InvitationCreate(account_id string, params *InvitationCreateParams) (*Invitation, error) + func (client *Client) InvitationDelete(account_id, id string) error + func (client *Client) InvitationResend(account_id, id string) (*Invitation, error) + func (client *Client) InvitationShow(account_id, id string) (*Invitation, error) + func (client *Client) InvitationUpdate(account_id, id string, params *InvitationUpdateParams) (*Invitation, error) + func (client *Client) InvitationsList(account_id string, page, perPage int) ([]*Invitation, error) + func (client *Client) JobComplete(project_id, id string) (*JobDetails, error) + func (client *Client) JobCreate(project_id string, params *JobParams) (*JobDetails, error) + func (client *Client) JobDelete(project_id, id string) error + func (client *Client) JobKeysCreate(project_id, id string, params *JobKeysCreateParams) (*JobDetails, error) + func (client *Client) JobKeysDelete(project_id, id string, params *JobKeysDeleteParams) error + func (client *Client) JobLocaleComplete(project_id, job_id, id string) (*JobLocale, error) + func (client *Client) JobLocaleDelete(project_id, job_id, id string) error + func (client *Client) JobLocaleReopen(project_id, job_id, id string) (*JobLocale, error) + func (client *Client) JobLocaleShow(project_id, job_id, id string) (*JobLocale, error) + func (client *Client) JobLocaleUpdate(project_id, job_id, id string, params *JobLocaleParams) (*JobLocale, error) + func (client *Client) JobLocalesCreate(project_id, job_id string, params *JobLocaleParams) (*JobLocale, error) + func (client *Client) JobLocalesList(project_id, job_id string, page, perPage int) ([]*JobLocale, error) + func (client *Client) JobReopen(project_id, id string) (*JobDetails, error) + func (client *Client) JobShow(project_id, id string) (*JobDetails, error) + func (client *Client) JobStart(project_id, id string) (*JobDetails, error) + func (client *Client) JobUpdate(project_id, id string, params *JobUpdateParams) (*JobDetails, error) + func (client *Client) JobsList(project_id string, page, perPage int, params *JobsListParams) ([]*Job, error) + func (client *Client) KeyCreate(project_id string, params *TranslationKeyParams) (*TranslationKeyDetails, error) + func (client *Client) KeyDelete(project_id, id string) error + func (client *Client) KeyShow(project_id, id string) (*TranslationKeyDetails, error) + func (client *Client) KeyUpdate(project_id, id string, params *TranslationKeyParams) (*TranslationKeyDetails, error) + func (client *Client) KeysDelete(project_id string, params *KeysDeleteParams) (*AffectedResources, error) + func (client *Client) KeysList(project_id string, page, perPage int, params *KeysListParams) ([]*TranslationKey, error) + func (client *Client) KeysSearch(project_id string, page, perPage int, params *KeysSearchParams) ([]*TranslationKey, error) + func (client *Client) KeysTag(project_id string, params *KeysTagParams) (*AffectedResources, error) + func (client *Client) KeysUntag(project_id string, params *KeysUntagParams) (*AffectedResources, error) + func (client *Client) LocaleCreate(project_id string, params *LocaleParams) (*LocaleDetails, error) + func (client *Client) LocaleDelete(project_id, id string) error + func (client *Client) LocaleDownload(project_id, id string, params *LocaleDownloadParams) ([]byte, error) + func (client *Client) LocaleShow(project_id, id string) (*LocaleDetails, error) + func (client *Client) LocaleUpdate(project_id, id string, params *LocaleParams) (*LocaleDetails, error) + func (client *Client) LocalesList(project_id string, page, perPage int) ([]*Locale, error) + func (client *Client) MemberDelete(account_id, id string) error + func (client *Client) MemberShow(account_id, id string) (*Member, error) + func (client *Client) MemberUpdate(account_id, id string, params *MemberUpdateParams) (*Member, error) + func (client *Client) MembersList(account_id string, page, perPage int) ([]*Member, error) + func (client *Client) OrderConfirm(project_id, id string) (*TranslationOrder, error) + func (client *Client) OrderCreate(project_id string, params *TranslationOrderParams) (*TranslationOrder, error) + func (client *Client) OrderDelete(project_id, id string) error + func (client *Client) OrderShow(project_id, id string) (*TranslationOrder, error) + func (client *Client) OrdersList(project_id string, page, perPage int) ([]*TranslationOrder, error) + func (client *Client) ProjectCreate(params *ProjectParams) (*ProjectDetails, error) + func (client *Client) ProjectDelete(id string) error + func (client *Client) ProjectShow(id string) (*ProjectDetails, error) + func (client *Client) ProjectUpdate(id string, params *ProjectParams) (*ProjectDetails, error) + func (client *Client) ProjectsList(page, perPage int) ([]*Project, error) + func (client *Client) ShowUser() (*User, error) + func (client *Client) StyleguideCreate(project_id string, params *StyleguideParams) (*StyleguideDetails, error) + func (client *Client) StyleguideDelete(project_id, id string) error + func (client *Client) StyleguideShow(project_id, id string) (*StyleguideDetails, error) + func (client *Client) StyleguideUpdate(project_id, id string, params *StyleguideParams) (*StyleguideDetails, error) + func (client *Client) StyleguidesList(project_id string, page, perPage int) ([]*Styleguide, error) + func (client *Client) TagCreate(project_id string, params *TagParams) (*TagWithStats, error) + func (client *Client) TagDelete(project_id, name string) error + func (client *Client) TagShow(project_id, name string) (*TagWithStats, error) + func (client *Client) TagsList(project_id string, page, perPage int) ([]*Tag, error) + func (client *Client) TranslationCreate(project_id string, params *TranslationParams) (*TranslationDetails, error) + func (client *Client) TranslationShow(project_id, id string) (*TranslationDetails, error) + func (client *Client) TranslationUpdate(project_id, id string, params *TranslationUpdateParams) (*TranslationDetails, error) + func (client *Client) TranslationsByKey(project_id, key_id string, page, perPage int, params *TranslationsByKeyParams) ([]*Translation, error) + func (client *Client) TranslationsByLocale(project_id, locale_id string, page, perPage int, ...) ([]*Translation, error) + func (client *Client) TranslationsExclude(project_id string, params *TranslationsExcludeParams) (*AffectedCount, error) + func (client *Client) TranslationsInclude(project_id string, params *TranslationsIncludeParams) (*AffectedCount, error) + func (client *Client) TranslationsList(project_id string, page, perPage int, params *TranslationsListParams) ([]*Translation, error) + func (client *Client) TranslationsSearch(project_id string, page, perPage int, params *TranslationsSearchParams) ([]*Translation, error) + func (client *Client) TranslationsUnverify(project_id string, params *TranslationsUnverifyParams) (*AffectedCount, error) + func (client *Client) TranslationsVerify(project_id string, params *TranslationsVerifyParams) (*AffectedCount, error) + func (client *Client) UploadCreate(project_id string, params *UploadParams) (*Upload, error) + func (client *Client) UploadShow(project_id, id string) (*Upload, error) + func (client *Client) UploadsList(project_id string, page, perPage int) ([]*Upload, error) + func (client *Client) VersionShow(project_id, translation_id, id string) (*TranslationVersionWithUser, error) + func (client *Client) VersionsList(project_id, translation_id string, page, perPage int) ([]*TranslationVersion, error) + func (client *Client) WebhookCreate(project_id string, params *WebhookParams) (*Webhook, error) + func (client *Client) WebhookDelete(project_id, id string) error + func (client *Client) WebhookShow(project_id, id string) (*Webhook, error) + func (client *Client) WebhookTest(project_id, id string) error + func (client *Client) WebhookUpdate(project_id, id string, params *WebhookParams) (*Webhook, error) + func (client *Client) WebhooksList(project_id string, page, perPage int) ([]*Webhook, error) + type Comment struct + CreatedAt *time.Time + ID string + Message string + UpdatedAt *time.Time + User *UserPreview + type CommentParams struct + Message *string + func (params *CommentParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Config struct + Debug bool + DefaultFileFormat string + DefaultProjectID string + Defaults map[string]map[string]interface{} + Page *int + PerPage *int + Sources []byte + Targets []byte + func ReadConfig() (*Config, error) + func (cfg *Config) UnmarshalYAML(unmarshal func(i interface{}) error) error + type Credentials struct + Host string + TFA bool + Token string + Username string + type ErrNotFound struct + Message string + func (e ErrNotFound) Error() string + type ErrorResponse struct + Message string + func (err *ErrorResponse) Error() string + type Format struct + ApiName string + DefaultEncoding string + DefaultFile string + Description string + Exportable bool + Extension string + Importable bool + IncludesLocaleInformation bool + Name string + RendersDefaultLocale bool + type Glossary struct + CreatedAt *time.Time + ID string + Name string + Projects []*ProjectShort + UpdatedAt *time.Time + type GlossaryParams struct + Name *string + ProjectIDs *string + func (params *GlossaryParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type GlossaryTerm struct + CaseSensitive bool + CreatedAt *time.Time + Description string + ID string + Term string + Translatable bool + Translations []*GlossaryTermTranslation + UpdatedAt *time.Time + type GlossaryTermParams struct + CaseSensitive *bool + Description *string + Term *string + Translatable *bool + func (params *GlossaryTermParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type GlossaryTermTranslation struct + Content string + CreatedAt *time.Time + ID string + LocaleCode string + UpdatedAt *time.Time + type GlossaryTermTranslationParams struct + Content *string + LocaleCode *string + func (params *GlossaryTermTranslationParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Invitation struct + AcceptedAt *time.Time + CreatedAt *time.Time + Email string + ID string + Locales []*LocalePreview + Projects []*ProjectShort + Role string + State string + UpdatedAt *time.Time + type InvitationCreateParams struct + Email *string + LocaleIDs *string + ProjectIDs *string + Role *string + func (params *InvitationCreateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type InvitationUpdateParams struct + LocaleIDs *string + ProjectIDs *string + Role *string + func (params *InvitationUpdateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Job struct + Briefing string + CreatedAt *time.Time + DueDate *time.Time + ID string + Name string + State string + UpdatedAt *time.Time + type JobDetails struct + JobTagName string + Keys []*KeyPreview + Locales []*LocalePreview + Owner *UserPreview + type JobKeysCreateParams struct + TranslationKeyIDs []string + func (params *JobKeysCreateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type JobKeysDeleteParams struct + TranslationKeyIDs []string + func (params *JobKeysDeleteParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type JobLocale struct + ID string + Job *JobPreview + Locale *LocalePreview + Users []*UserPreview + type JobLocaleParams struct + LocaleID *string + UserIDs []string + func (params *JobLocaleParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type JobParams struct + Briefing *string + DueDate **time.Time + Name *string + Tags []string + TranslationKeyIDs []string + func (params *JobParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type JobPreview struct + ID string + Name string + State string + type JobUpdateParams struct + Briefing *string + DueDate **time.Time + Name *string + func (params *JobUpdateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type JobsListParams struct + AssignedTo *string + OwnedBy *string + State *string + func (params *JobsListParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type KeyPreview struct + ID string + Name string + Plural bool + type KeysDeleteParams struct + LocaleID *string + Q *string + func (params *KeysDeleteParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type KeysListParams struct + LocaleID *string + Order *string + Q *string + Sort *string + func (params *KeysListParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type KeysSearchParams struct + LocaleID *string + Order *string + Q *string + Sort *string + func (params *KeysSearchParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type KeysTagParams struct + LocaleID *string + Q *string + Tags *string + func (params *KeysTagParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type KeysUntagParams struct + LocaleID *string + Q *string + Tags *string + func (params *KeysUntagParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Locale struct + Code string + CreatedAt *time.Time + Default bool + ID string + Main bool + Name string + PluralForms []string + Rtl bool + SourceLocale *LocalePreview + UpdatedAt *time.Time + type LocaleDetails struct + Statistics *LocaleStatistics + type LocaleDownloadParams struct + ConvertEmoji bool + Encoding *string + FallbackLocaleID *string + FileFormat *string + FormatOptions map[string]string + IncludeEmptyTranslations bool + KeepNotranslateTags bool + SkipUnverifiedTranslations bool + Tag *string + func (params *LocaleDownloadParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type LocaleParams struct + Autotranslate *bool + Code *string + Default *bool + Main *bool + Name *string + Rtl *bool + SourceLocaleID *string + UnverifyNewTranslations *bool + UnverifyUpdatedTranslations *bool + func (params *LocaleParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type LocalePreview struct + Code string + ID string + Name string + type LocaleStatistics struct + KeysTotalCount int64 + KeysUntranslatedCount int64 + MissingWordsCount int64 + TranslationsCompletedCount int64 + TranslationsUnverifiedCount int64 + UnverifiedWordsCount int64 + WordsTotalCount int64 + type Member struct + Email string + ID string + Projects []*ProjectLocales + Role string + Username string + type MemberUpdateParams struct + LocaleIDs *string + ProjectIDs *string + Role *string + func (params *MemberUpdateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Project struct + Account *Account + CreatedAt *time.Time + ID string + MainFormat string + Name string + ProjectImageUrl string + UpdatedAt *time.Time + type ProjectDetails struct + SharesTranslationMemory bool + Slug string + type ProjectLocales struct + Locales []*LocalePreview + type ProjectParams struct + AccountID *string + MainFormat *string + Name *string + ProjectImage *string + RemoveProjectImage *bool + SharesTranslationMemory *bool + func (params *ProjectParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type ProjectShort struct + CreatedAt *time.Time + ID string + MainFormat string + Name string + UpdatedAt *time.Time + type RateLimitingError struct + Limit int + Remaining int + Reset time.Time + TooManyRequests bool + func NewRateLimitError(resp *http.Response) (*RateLimitingError, error) + func (rle *RateLimitingError) Error() string + type StatisticsListItem struct + Locale *LocalePreview + Statistics StatisticsType + type StatisticsType struct + KeysTotalCount int64 + KeysUntranslatedCount int64 + TranslationsCompletedCount int64 + TranslationsUnverifiedCount int64 + type Styleguide struct + CreatedAt *time.Time + ID string + Title string + UpdatedAt *time.Time + type StyleguideDetails struct + Audience string + Business string + CompanyBranding string + Formatting string + GlossaryTerms string + GrammarConsistency string + GrammaticalPerson string + LiteralTranslation string + OverallTone string + PublicUrl string + Samples string + TargetAudience string + VocabularyType string + type StyleguideParams struct + Audience *string + Business *string + CompanyBranding *string + Formatting *string + GlossaryTerms *string + GrammarConsistency *string + GrammaticalPerson *string + LiteralTranslation *string + OverallTone *string + Samples *string + TargetAudience *string + Title *string + VocabularyType *string + func (params *StyleguideParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type StyleguidePreview struct + ID string + Title string + type SummaryType struct + LocalesCreated int64 + TagsCreated int64 + TranslationKeysCreated int64 + TranslationsCreated int64 + TranslationsUpdated int64 + type Tag struct + CreatedAt *time.Time + KeysCount int64 + Name string + UpdatedAt *time.Time + type TagParams struct + Name *string + func (params *TagParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TagWithStats struct + Statistics []*StatisticsListItem + type Translation struct + Content string + CreatedAt *time.Time + Excluded bool + ID string + Key *KeyPreview + Locale *LocalePreview + Placeholders []string + PluralSuffix string + Unverified bool + UpdatedAt *time.Time + type TranslationDetails struct + User *UserPreview + WordCount int64 + type TranslationKey struct + CreatedAt *time.Time + DataType string + Description string + ID string + Name string + NameHash string + Plural bool + Tags []string + UpdatedAt *time.Time + type TranslationKeyDetails struct + CommentsCount int64 + Creator *UserPreview + FormatValueType string + MaxCharactersAllowed int64 + NamePlural string + OriginalFile string + ScreenshotUrl string + Unformatted bool + XmlSpacePreserve bool + type TranslationKeyParams struct + DataType *string + Description *string + LocalizedFormatKey *string + LocalizedFormatString *string + MaxCharactersAllowed *int64 + Name *string + NamePlural *string + OriginalFile *string + Plural *bool + RemoveScreenshot *bool + Screenshot *string + Tags *string + Unformatted *bool + XmlSpacePreserve *bool + func (params *TranslationKeyParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationOrder struct + AmountInCents int64 + CreatedAt *time.Time + Currency string + ID string + Lsp string + Message string + Priority bool + ProgressPercent int64 + Quality bool + SourceLocale *LocalePreview + State string + Styleguide *StyleguidePreview + Tag string + TargetLocales []*LocalePreview + TranslationType string + UnverifyTranslationsUponDelivery bool + UpdatedAt *time.Time + type TranslationOrderParams struct + Category *string + IncludeUntranslatedKeys *bool + IncludeUnverifiedTranslations *bool + Lsp *string + Message *string + Priority *bool + Quality *bool + SourceLocaleID *string + StyleguideID *string + Tag *string + TargetLocaleIDs []string + TranslationType *string + UnverifyTranslationsUponDelivery *bool + func (params *TranslationOrderParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationParams struct + Content *string + Excluded *bool + KeyID *string + LocaleID *string + PluralSuffix *string + Unverified *bool + func (params *TranslationParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationUpdateParams struct + Content *string + Excluded *bool + PluralSuffix *string + Unverified *bool + func (params *TranslationUpdateParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationVersion struct + ChangedAt *time.Time + Content string + CreatedAt *time.Time + ID string + Key *KeyPreview + Locale *LocalePreview + PluralSuffix string + UpdatedAt *time.Time + type TranslationVersionWithUser struct + User *UserPreview + type TranslationsByKeyParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsByKeyParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsByLocaleParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsByLocaleParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsExcludeParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsExcludeParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsIncludeParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsIncludeParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsListParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsListParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsSearchParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsSearchParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsUnverifyParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsUnverifyParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type TranslationsVerifyParams struct + Order *string + Q *string + Sort *string + func (params *TranslationsVerifyParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type Upload struct + CreatedAt *time.Time + Filename string + Format string + ID string + State string + Summary SummaryType + UpdatedAt *time.Time + type UploadParams struct + Autotranslate *bool + ConvertEmoji *bool + File *string + FileEncoding *string + FileFormat *string + FormatOptions map[string]string + LocaleID *string + LocaleMapping map[string]string + SkipUnverification *bool + SkipUploadTags *bool + Tags *string + UpdateDescriptions *bool + UpdateTranslations *bool + func (params *UploadParams) ApplyValuesFromMap(defaults map[string]interface{}) error + type User struct + CreatedAt *time.Time + Email string + ID string + Name string + Position string + UpdatedAt *time.Time + Username string + type UserPreview struct + ID string + Name string + Username string + type ValidationErrorMessage struct + Field string + Message string + Resource string + func (msg *ValidationErrorMessage) String() string + type ValidationErrorResponse struct + Errors []ValidationErrorMessage + func (err *ValidationErrorResponse) Error() string + type Webhook struct + Active bool + CallbackUrl string + CreatedAt *time.Time + Description string + Events []string + ID string + UpdatedAt *time.Time + type WebhookParams struct + Active *bool + CallbackUrl *string + Description *string + Events *string + func (params *WebhookParams) ApplyValuesFromMap(defaults map[string]interface{}) error Incompatible versions in this module v3.0.0+incompatible Oct 22, 2018 v2.0.0+incompatible Aug 22, 2018