(* Options:
Date: 2024-11-26 03:59:41
Version: 8.12
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.staging.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: RemoveProductSubscriptionAsync.*
//ExcludeTypes:
//InitializeCollections: True
//AddNamespaces:
*)
namespace PwC.Metering.Core.Domain.Concretes.Interfaces
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Net
///
///Specifies a base service request to unsubscribe a user account from one or more products.
///
[]
[]
type RemoveProductSubscriptionBase() =
interface IDelete
///
///The unique identifier of the user account to unsubscribe.
///
[]
member val AccountId:Nullable = new Nullable() with get,set
///
///The user name of the user account to unsubscribe.
///
[]
member val UserName:String = null with get,set
///
///The unique identifier of the product, from which the user account is subscribed.
///
[]
member val ProductId:Nullable = new Nullable() with get,set
///
///The name of the product, from which the user account is subscribed.
///
[]
member val ProductName:String = null with get,set
///
///Represents a user account.
///
[]
[]
type Account() =
///
///The unique identifier of the user account.
///
[]
member val Id:Int32 = new Int32() with get,set
///
///The position of this instance in a collection of 'Account' instances
///
[]
member val Index:Int32 = new Int32() with get,set
///
///The unique identifier of the customer associated with this account.
///
[]
member val RefId:Nullable = new Nullable() with get,set
///
///The string representation of the unique identifier of a reference that associates with this user account. This should have the same value as 'RefId'.
///
[]
member val RefIdStr:String = null with get,set
///
///The unique user name of the user account.
///
[]
member val UserName:String = null with get,set
///
///The electronic mail address of the user account.
///
[]
member val Email:String = null with get,set
///
///The friendly name of the user account.
///
[]
member val DisplayName:String = null with get,set
///
///The first name of the owner (natural person) of the user account.
///
[]
member val FirstName:String = null with get,set
///
///The last name of the owner (natural person) of the user account.
///
[]
member val LastName:String = null with get,set
///
///The unique identifier of the customer associated with this account.
///
[]
member val FullName:String = null with get,set
///
///The gender of the owner (natural person) of the user account.
///
[]
member val Gender:String = null with get,set
///
///The language of the owner of teh user account.
///
[]
member val Language:String = null with get,set
///
///The company, where the user is an employee.
///
[]
member val Company:String = null with get,set
///
///The profile URL of the user account.
///
[]
member val ProfileUrl:String = null with get,set
///
///The roles assigned to the user account.
///
[]
member val Roles:ResizeArray = new ResizeArray() with get,set
///
///The permissions assigned to the user account.
///
[]
member val Permissions:ResizeArray = new ResizeArray() with get,set
///
///The primary e-mail address of the user.
///
[]
member val PrimaryEmail:String = null with get,set
///
///Random data to enhance the security of the user password.
///
[]
member val Salt:String = null with get,set
///
///The hash value of the user password that the PBKDF2 algorithm produces.
///
[]
member val PasswordHash:String = null with get,set
///
///The hash value of the user password that the DigestHa1 algorithm produces.
///
[]
member val DigestHa1Hash:String = null with get,set
///
///The number of times the user account tried to sign in but failed.
///
[]
member val InvalidLoginAttempts:Int32 = new Int32() with get,set
///
///The last time the user account attempted a sign in.
///
[]
member val LastLoginAttempt:Nullable = new Nullable() with get,set
///
///The date and time when the user acount was denied access.
///
[]
member val LockedDate:Nullable = new Nullable() with get,set
///
///The date and time when the user account was created.
///
[]
member val CreatedDate:DateTime = new DateTime() with get,set
///
///The date and time when the user account was last modified.
///
[]
member val ModifiedDate:DateTime = new DateTime() with get,set
///
///The telephone number of the owner of the user account.
///
[]
member val PhoneNumber:String = null with get,set
///
///The birth date of the owner of the user account
///
[]
member val BirthDate:Nullable = new Nullable() with get,set
///
///The string representation of the birth date of the user account.
///
[]
member val BirthDateRaw:String = null with get,set
///
///The mail address of the user account.
///
[]
member val Address:String = null with get,set
///
///Additional information for the specified 'Address' of the user.
///
[]
member val Address2:String = null with get,set
///
///The city of the owner of the user account.
///
[]
member val City:String = null with get,set
///
///The state of the owner of the user account.
///
[]
member val State:String = null with get,set
///
///The country of the owner of the user account. It is recommended to use the name of the associated 'Customer'.
///
[]
member val Country:String = null with get,set
///
///The locale of the user account.
///
[]
member val Culture:String = null with get,set
///
///The mail address of the user account.
///
[]
member val MailAddress:String = null with get,set
///
///The nickname of the user of the user account.
///
[]
member val Nickname:String = null with get,set
///
///The postal code of the user account.
///
[]
member val PostalCode:String = null with get,set
///
///The time zone of the user of the user account.
///
[]
member val TimeZone:String = null with get,set
///
///Additional information to attach to the user account.
///
[]
member val Meta:Dictionary = new Dictionary() with get,set
///
///Represents a product.
///
[]
[]
type Product() =
///
///The unique identifier of the product.
///
[]
member val Id:Int32 = new Int32() with get,set
///
///The position of this instance in a collection of 'Product' instances
///
[]
member val Index:Int32 = new Int32() with get,set
///
///The name of the product.
///
[]
[]
member val Name:String = null with get,set
///
///The version of the product.
///
[]
[]
member val Version:String = null with get,set
///
///The version of the product.
///
[]
member val Description:String = null with get,set
///
///Tags associated with the product.
///
[]
member val Tags:ResizeArray = new ResizeArray() with get,set
///
///Represents a commission to consume services.
///
[]
[]
type Order() =
///
///The unique identifier of the order.
///
[]
member val Id:Int32 = new Int32() with get,set
///
///The unique identifier of the product, for which the order is made.
///
[]
member val ProductId:Int32 = new Int32() with get,set
///
///The unique identifier of the user account, who placed the order.
///
[]
member val AccountId:Int32 = new Int32() with get,set
///
///A name to identify the order.
///
[]
[]
member val Name:String = null with get,set
///
///The name of the service, for which the order was made.
///
[]
member val ServiceName:String = null with get,set
///
///The time stamp at which the order was initiated.
///
[]
member val RequestTimestamp:Nullable = new Nullable() with get,set
///
///The time stamp at which the order was completed.
///
[]
member val ResponseTimestamp:Nullable = new Nullable() with get,set
///
///The URI from which the order was initiated.
///
[]
member val RequestUri:String = null with get,set
///
///The HTTP method of the order request.
///
[]
member val RequestHttpMethod:String = null with get,set
///
///The duration of the order request.
///
[]
member val RequestDuration:Nullable = new Nullable() with get,set
///
///The HTTP status code of the order request.
///
[]
member val ResponseStatusCode:HttpStatusCode = new HttpStatusCode() with get,set
///
///The IP address of client, who placed the order.
///
[]
member val ClientIPAddress:String = null with get,set
///
///The unit of measurement for the order.
///
[]
member val UnitOfMeasurement:String = null with get,set
///
///The type of process, for which the order is charged.
///
[]
member val ProcessType:String = null with get,set
///
///The type of data, for which the order is charged.
///
[]
member val DataType:String = null with get,set
///
///The name of the data, for which the order is charged.
///
[]
member val DataName:String = null with get,set
///
///The date of creation of the order.
///
[]
member val CreationDate:DateTime = new DateTime() with get,set
///
///The final date to retain the order in the records. After this date, the order is expunged from the records.
///
[]
member val ExpiryDate:Nullable = new Nullable() with get,set
///
///Indicates whether the order is simulated for test purposes. True if the order is simulated for test purposes; otherwise it is a false order for production purposes.
///
[]
member val IsTest:Boolean = new Boolean() with get,set
///
///Specifies a base service response class that contains a structured error information.
///
[]
[]
type ServiceResponseBase() =
///
///Data structure that holds error information from a service operation.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
/// Specifies that a data type should have a 'UserName' property.
///
[]
type IHasUserName =
abstract UserName:String with get,set
///
/// Specifies that a data type should have a 'Name' property.
///
[]
type IHasName =
///
///The 'Name' property.
///
abstract Name:String with get,set
///
///Represents a service response that contains a structured error information and encapsulates a user account.
///
[]
[]
type AccountResponse() =
inherit ServiceResponseBase()
///
///The user account encapsulated in the response.
///
[]
member val Account:Account = null with get,set
///
///The index position of the reponse in a collection, if it were returned together with other responses.
///
[]
member val Index:Int64 = new Int64() with get,set
///
///The list of products associated with the encapsulated user account.
///
[]
member val Products:ResizeArray = new ResizeArray() with get,set
///
///The list of orders associated with the encapsulated user account.
///
[]
member val Orders:ResizeArray = new ResizeArray() with get,set
///
///Data structure that holds error information from a service operation.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
///Represents a service request to unsubscribe a user account from one or more products in an asynchronous operation.
///
[]
[]
[]
type RemoveProductSubscriptionAsync() =
inherit RemoveProductSubscriptionBase()
interface IReturn
///
///The unique identifier of the user account to unsubscribe.
///
[]
member val AccountId:Nullable = new Nullable() with get,set
///
///The user name of the user account to unsubscribe.
///
[]
member val UserName:String = null with get,set
///
///The unique identifier of the product, from which the user account is subscribed.
///
[]
member val ProductId:Nullable = new Nullable() with get,set
///
///The name of the product, from which the user account is subscribed.
///
[]
member val ProductName:String = null with get,set